Changeset 3b17b57 for functions.c


Ignore:
Timestamp:
Jul 31, 2011, 1:53:37 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.9
Children:
6edc38b, 8a13ea3, 6646fdb, 6ddeb17
Parents:
9078f69
git-author:
David Benjamin <davidben@mit.edu> (07/31/11 01:52:53)
git-committer:
David Benjamin <davidben@mit.edu> (07/31/11 01:53:37)
Message:
Kill owl_function_lastmsg_noredisplay

Now that owl_window exists and owl_mainwin_redisplay merely sets a dirty
flag, we don't have to care that it only gets called once. It's cheap.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rb9517cf r3b17b57  
    204204
    205205  /* do followlast if necessary */
    206   if (owl_global_should_followlast(&g)) owl_function_lastmsg_noredisplay();
     206  if (owl_global_should_followlast(&g)) owl_function_lastmsg();
    207207
    208208  /* redisplay etc. */
     
    808808}
    809809
    810 void owl_function_lastmsg_noredisplay(void)
     810void owl_function_lastmsg(void)
    811811{
    812812  int oldcurmsg, curmsg;
     
    826826    owl_global_set_curmsg(&g, curmsg+1);
    827827  }
    828   /* owl_mainwin_redisplay(owl_global_get_mainwin(&g)); */
     828  owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    829829  owl_global_set_direction_downwards(&g);
    830 }
    831 
    832 void owl_function_lastmsg(void)
    833 {
    834   owl_function_lastmsg_noredisplay();
    835   owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 
    836830}
    837831
Note: See TracChangeset for help on using the changeset viewer.