Changeset 98d296d for global.c


Ignore:
Timestamp:
Mar 29, 2010, 11:11:32 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
9186c75
Parents:
58d47ca
git-author:
Nelson Elhage <nelhage@ksplice.com> (03/19/10 17:07:21)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/29/10 23:11:32)
Message:
Remove owl_global_is_typwin_active

This is now redundant with "get_typwin() == NULL".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r58d47ca r98d296d  
    5757  g->curmsg_vert_offset=0;
    5858  g->resizepending=0;
    59   g->typwinactive=0;
    6059  g->direction=OWL_DIRECTION_DOWNWARDS;
    6160  g->zaway=0;
     
    366365/* typwin */
    367366
    368 int owl_global_is_typwin_active(const owl_global *g) {
    369   if (g->typwinactive==1) return(1);
    370   return(0);
    371 }
    372 
    373367owl_editwin *owl_global_set_typwin_active(owl_global *g, int style, owl_history *hist) {
    374368  int d;
     
    382376                          style,
    383377                          hist);
    384   g->typwinactive=1;
    385378  return g->tw;
    386379}
     
    390383  if (d > 0 && owl_editwin_get_style(g->tw) == OWL_EDITWIN_STYLE_MULTILINE)
    391384      owl_function_resize_typwin(owl_global_get_typwin_lines(g) - d);
    392 
    393   g->typwinactive=0;
    394385
    395386  werase(owl_global_get_curs_typwin(g));
Note: See TracChangeset for help on using the changeset viewer.