From 22286bd7b6ece453e449f9b9f9f360484925457c Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 4 May 2011 17:45:16 +0000 Subject: (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. --- src/newgrf_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 3443f6713..9d7f2bc44 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -695,7 +695,7 @@ struct NewGRFWindow : public QueryStringBaseWindow { { switch (widget) { case SNGRFS_FILE_LIST: { - GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, 0xD7); + GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, GREY_SCALE(1)); uint step_height = this->GetWidget(SNGRFS_FILE_LIST)->resize_y; uint y = r.top + WD_FRAMERECT_TOP; @@ -727,7 +727,7 @@ struct NewGRFWindow : public QueryStringBaseWindow { } case SNGRFS_AVAIL_LIST: { - GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, 0xD7); + GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, GREY_SCALE(1)); uint step_height = this->GetWidget(SNGRFS_AVAIL_LIST)->resize_y; int offset_y = (step_height - FONT_HEIGHT_NORMAL) / 2; -- cgit v1.2.3-54-g00ecf