diff options
author | frosch <frosch@openttd.org> | 2011-05-04 17:45:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-05-04 17:45:16 +0000 |
commit | 22286bd7b6ece453e449f9b9f9f360484925457c (patch) | |
tree | 6827e0912689694ba65e13df1b125458458faaa5 /src/company_gui.cpp | |
parent | bfb419f9d81bbbf9435fcc0848480f4a3e38c138 (diff) | |
download | openttd-22286bd7b6ece453e449f9b9f9f360484925457c.tar.xz |
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 84040f080..020258fd5 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -209,7 +209,7 @@ static void DrawYearColumn(const Rect &r, int year, const Money (*tbl)[EXPENSES_ if (et == INVALID_EXPENSES) { Money cost = subtotal; subtotal = 0; - GfxFillRect(r.left, y, r.right, y, 215); + GfxFillRect(r.left, y, r.right, y, GREY_SCALE(1)); y += EXP_LINESPACE; DrawPrice(cost, r.left, r.right, y); y += FONT_HEIGHT_NORMAL + EXP_BLOCKSPACE; @@ -222,7 +222,7 @@ static void DrawYearColumn(const Rect &r, int year, const Money (*tbl)[EXPENSES_ } } - GfxFillRect(r.left, y, r.right, y, 215); + GfxFillRect(r.left, y, r.right, y, GREY_SCALE(1)); y += EXP_LINESPACE; DrawPrice(sum, r.left, r.right, y); } @@ -385,7 +385,7 @@ struct CompanyFinancesWindow : Window { } case CFW_LOAN_LINE: - GfxFillRect(r.left, r.top, r.right, r.top, 215); + GfxFillRect(r.left, r.top, r.right, r.top, GREY_SCALE(1)); break; } } |