From 0ca15b16c0aa1b1ebbf8da5dd10217bcf96fec4a Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 27 Jan 2002 03:29:11 +0000 Subject: [PATCH] another follow-up for mhmap.c Oops, it should have been VERSION_MAJOR < 4, VERSION_MINOR < 4 and PATCHLEVEL < 2 --- win/win32/mhmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win/win32/mhmap.c b/win/win32/mhmap.c index 28e285a97..8e5f11515 100644 --- a/win/win32/mhmap.c +++ b/win/win32/mhmap.c @@ -39,7 +39,7 @@ static void onMSNH_HScroll(HWND hWnd, WPARAM wParam, LPARAM lParam); static void onPaint(HWND hWnd); static void onCreate(HWND hWnd, WPARAM wParam, LPARAM lParam); static void nhcoord2display(PNHMapWindow data, int x, int y, LPRECT lpOut); -#if (VERSION_MAJOR < 3) && (VERSION_MINOR < 3) && (PATCHLEVEL < 2) +#if (VERSION_MAJOR < 4) && (VERSION_MINOR < 4) && (PATCHLEVEL < 2) static void nhglyph2charcolor(short glyph, uchar* ch, int* color); #endif static COLORREF nhcolor_to_RGB(int c); @@ -531,7 +531,7 @@ void onPaint(HWND hWnd) int color; unsigned special, mgch; -#if (VERSION_MAJOR < 3) && (VERSION_MINOR < 3) && (PATCHLEVEL < 2) +#if (VERSION_MAJOR < 4) && (VERSION_MINOR < 4) && (PATCHLEVEL < 2) nhglyph2charcolor(data->map[i][j], &ch, &color); #else /* rely on NetHack core helper routine */ @@ -755,7 +755,7 @@ void nhcoord2display(PNHMapWindow data, int x, int y, LPRECT lpOut) lpOut->bottom = lpOut->top + data->yScrTile; } -#if (VERSION_MAJOR < 3) && (VERSION_MINOR < 3) && (PATCHLEVEL < 2) +#if (VERSION_MAJOR < 4) && (VERSION_MINOR < 4) && (PATCHLEVEL < 2) /* map glyph to character/color combination */ void nhglyph2charcolor(short g, uchar* ch, int* color) { -- 2.50.1