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/object_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object_gui.cpp') diff --git a/src/object_gui.cpp b/src/object_gui.cpp index ec72dc482..778967713 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -206,7 +206,7 @@ public: if (spec == NULL) break; if (!spec->IsAvailable()) { - GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, 0, FILLRECT_CHECKER); + GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, GREY_SCALE(0), FILLRECT_CHECKER); } DrawPixelInfo tmp_dpi; /* Set up a clipping area for the preview. */ -- cgit v1.2.3-54-g00ecf