Fix warning

This commit is contained in:
Stas Degteff 2005-10-27 19:25:55 +00:00
parent 7ebf8253e6
commit e077a8ff63

View File

@ -363,7 +363,7 @@ static void disp_cat() {
gkbd.inmenu = false; gkbd.inmenu = false;
} }
if ((kbch == -1) || (kbch == Key_Esc)) if ((kbch == word(-1)) || (kbch == Key_Esc))
{ {
// clear any PgUp or PgDn keystrokes that // clear any PgUp or PgDn keystrokes that
// may be lurking in CXL's keystroke // may be lurking in CXL's keystroke
@ -473,7 +473,7 @@ static void help_handler() {
// open help window // open help window
if(not wopen(whelp.srow, whelp.scol, whelp.erow, whelp.ecol, whelp.btype, whelp.winattr, whelp.winattr)) if(not wopen(whelp.srow, whelp.scol, whelp.erow, whelp.ecol, whelp.btype, whelp.winattr, whelp.winattr))
return; return;
// display window title if specified // display window title if specified
if(whelp.title) if(whelp.title)
wtitle("[ Help ]",TCENTER,whelp.winattr); wtitle("[ Help ]",TCENTER,whelp.winattr);