Changeset 451becb for functions.c


Ignore:
Timestamp:
Dec 30, 2006, 1:28:40 AM (14 years ago)
Author:
Alex Vandiver <alexmv@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8b7466b
Parents:
446aa2b
git-author:
Alex Vandiver <alexmv@mit.edu> (12/30/06 01:27:37)
git-committer:
Alex Vandiver <alexmv@mit.edu> (12/30/06 01:28:40)
Message:
Kinda hacky fix for ^L at small window sizes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rbfbf590 r451becb  
    14191419  redrawwin(owl_global_get_curs_recwin(&g));
    14201420  redrawwin(owl_global_get_curs_sepwin(&g));
    1421   redrawwin(owl_global_get_curs_typwin(&g));
    1422   redrawwin(owl_global_get_curs_msgwin(&g));
     1421  // Work around curses segfualts with windows off the screen
     1422  if (g.lines >= owl_global_get_typwin_lines(&g)+2)
     1423      redrawwin(owl_global_get_curs_typwin(&g));
     1424  if (g.lines >= 2)
     1425      redrawwin(owl_global_get_curs_msgwin(&g));
    14231426
    14241427  wnoutrefresh(owl_global_get_curs_recwin(&g));
Note: See TracChangeset for help on using the changeset viewer.