summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-05-19 20:55:28 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-05-19 20:55:28 +0000
commitc3dd97f5caa1f3e9093e8c28eebe8803f7cdc061 (patch)
treede93a38437684a9329127f41089d4ac868e8f837
parent5435bdb071b487f2c021bc308188ab9ff6081f89 (diff)
fix usage of CYGEBUG conditional
-rwxr-xr-xhw/xwin/winmultiwindowwndproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/winmultiwindowwndproc.c b/hw/xwin/winmultiwindowwndproc.c
index 7cfb4b847..ff18f2e42 100755
--- a/hw/xwin/winmultiwindowwndproc.c
+++ b/hw/xwin/winmultiwindowwndproc.c
@@ -35,7 +35,7 @@
#include "dixevents.h"
#include "winmultiwindowclass.h"
#include "winprefs.h"
-#ifdef CYGDEBUG
+#if CYGDEBUG
#include "winmessages.h"
#endif
@@ -948,7 +948,7 @@ winTopLevelWindowProc (HWND hwnd, UINT message,
WINDOWPOS *windowpos = (WINDOWPOS *)lParam;
HWND hwndprev = GetNextWindow(hwnd, GW_HWNDPREV);
HWND hwndafter = windowpos->hwndInsertAfter;
-#ifdef CYGDEBUG
+#if CYGDEBUG
char buffer[1024];
char buffer2[1024];
GetWindowText(hwndafter, buffer, sizeof(buffer));