From 527bbcf271e5afa5132fad48f0a1877f8069910b Mon Sep 17 00:00:00 2001 From: dan Date: Wed, 22 Nov 2000 07:34:03 +0000 Subject: [PATCH] - some small fixes to make it compile on werider systems. --- WINGs/wfontpanel.c | 2 +- WINGs/wtext.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WINGs/wfontpanel.c b/WINGs/wfontpanel.c index bf577fd2..a2741bf3 100644 --- a/WINGs/wfontpanel.c +++ b/WINGs/wfontpanel.c @@ -6,7 +6,7 @@ #include "WUtil.h" #include -#include +#include typedef struct W_FontPanel { diff --git a/WINGs/wtext.c b/WINGs/wtext.c index 4511a97e..b8df4814 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -2279,7 +2279,9 @@ R_imaGFX: if(tb->next) { case XK_BackSpace: case XK_Delete: +#ifdef XK_KP_Delete case XK_KP_Delete: +#endif deleteTextInteractively(tPtr, ksym); updateCursorPosition(tPtr); paintText(tPtr);