diff options
author | belugas <belugas@openttd.org> | 2007-11-04 00:08:57 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-11-04 00:08:57 +0000 |
commit | 56e6282f2f56d741634e30bba86fcfbd941bc285 (patch) | |
tree | 14a742a306f14c4d3afd56b725a7c6ffe7fb0e73 /src/signs_gui.cpp | |
parent | 9e69fc8114012c85cc1194a2ae73fb716dc95dde (diff) | |
download | openttd-56e6282f2f56d741634e30bba86fcfbd941bc285.tar.xz |
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r-- | src/signs_gui.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index e5c8dff78..440749743 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -75,7 +75,7 @@ static void SignListWndProc(Window *w, WindowEvent *e) /* No signs? */ if (w->vscroll.count == 0) { - DrawString(2, y, STR_304A_NONE, 0); + DrawString(2, y, STR_304A_NONE, TC_FROMSTRING); return; } @@ -90,7 +90,7 @@ static void SignListWndProc(Window *w, WindowEvent *e) DrawPlayerIcon(si->owner, 4, y + 1); SetDParam(0, si->index); - DrawString(22, y, STR_SIGN_NAME, 8); + DrawString(22, y, STR_SIGN_NAME, TC_YELLOW); y += 10; } } @@ -321,3 +321,4 @@ void ShowRenameSignWindow(const Sign *si) } + |