Changeset 03c5bdd


Ignore:
Timestamp:
Mar 11, 2010, 9:37:07 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f449096
Parents:
8830df47
git-author:
David Benjamin <davidben@mit.edu> (03/09/10 16:56:53)
git-committer:
David Benjamin <davidben@mit.edu> (03/11/10 21:37:07)
Message:
Drop owl_popwin's first_refresh book-keeping

b928b3a911f5fc1f205c12ca900557d21f47e7e2 removed all uses of the
value.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    rf8074e9 r03c5bdd  
    398398  int cols;
    399399  int active;
    400   int needsfirstrefresh;
    401400} owl_popwin;
    402401
  • popwin.c

    r8830df47 r03c5bdd  
    44{
    55  pw->active=0;
    6   pw->needsfirstrefresh=0;
    76  pw->lines=0;
    87  pw->cols=0;
     
    2928  popwin = newwin(pw->lines-2, pw->cols-2, startline+1, startcol+1);
    3029  pw->poppanel = new_panel(popwin);
    31   pw->needsfirstrefresh=1;
    3230 
    3331  meta(popwin,TRUE);
     
    9694  return(pw->cols-2);
    9795}
    98 
    99 int owl_popwin_needs_first_refresh(const owl_popwin *pw)
    100 {
    101   if (pw->needsfirstrefresh) return(1);
    102   return(0);
    103 }
    104 
    105 void owl_popwin_no_needs_first_refresh(owl_popwin *pw)
    106 {
    107   pw->needsfirstrefresh=0;
    108 }
Note: See TracChangeset for help on using the changeset viewer.