Changeset 1f3a423 for global.c


Ignore:
Timestamp:
Apr 28, 2010, 2:27:58 PM (15 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
285bc9a
Parents:
675a998
git-author:
David Benjamin <davidben@mit.edu> (04/28/10 03:02:29)
git-committer:
David Benjamin <davidben@mit.edu> (04/28/10 14:27:58)
Message:
Consistently use g->{lines,cols} for the final size

We have various fallbacks and then ignore them, which will cause
problems should we ever need the fallbacks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r8479494 r1f3a423  
    501501
    502502#ifdef HAVE_RESIZETERM
    503   resizeterm(size.ws_row, size.ws_col);
     503  resizeterm(g->lines, g->cols);
    504504#endif
    505505
     
    525525  owl_function_full_redisplay();
    526526
    527   owl_function_debugmsg("New size is %i lines, %i cols.", size.ws_row, size.ws_col);
     527  owl_function_debugmsg("New size is %i lines, %i cols.", g->lines, g->cols);
    528528  owl_function_makemsg("");
    529529}
Note: See TracChangeset for help on using the changeset viewer.