From e077a8ff63ec1b969d0f1267ae72af291cf8cc6e Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Thu, 27 Oct 2005 19:25:55 +0000 Subject: [PATCH] Fix warning --- goldlib/gall/gwinhlp1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goldlib/gall/gwinhlp1.cpp b/goldlib/gall/gwinhlp1.cpp index 76bc263..8398e01 100644 --- a/goldlib/gall/gwinhlp1.cpp +++ b/goldlib/gall/gwinhlp1.cpp @@ -363,7 +363,7 @@ static void disp_cat() { gkbd.inmenu = false; } - if ((kbch == -1) || (kbch == Key_Esc)) + if ((kbch == word(-1)) || (kbch == Key_Esc)) { // clear any PgUp or PgDn keystrokes that // may be lurking in CXL's keystroke @@ -473,7 +473,7 @@ static void help_handler() { // open help window if(not wopen(whelp.srow, whelp.scol, whelp.erow, whelp.ecol, whelp.btype, whelp.winattr, whelp.winattr)) return; - + // display window title if specified if(whelp.title) wtitle("[ Help ]",TCENTER,whelp.winattr);