summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-13 12:40:31 +0000
committerrubidium <rubidium@openttd.org>2008-09-13 12:40:31 +0000
commit0251a9c5294eae866d3d5db50601261575062edd (patch)
treea1625b7b214fb22295124690b18dd7900b31bf52 /src/newgrf_gui.cpp
parentab4d0e2dac782818471c1dbf6bd46b119fb9d86c (diff)
downloadopenttd-0251a9c5294eae866d3d5db50601261575062edd.tar.xz
(svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 34ff973af..54e36fbc7 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -98,11 +98,11 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint w, uint bott
SetDParam(0, STR_01A9_NONE);
}
y += DrawStringMultiLine(x, y, STR_NEWGRF_PARAMETER, w, bottom - y);
- }
- /* Draw the palette of the NewGRF */
- SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS");
- y += DrawStringMultiLine(x, y, STR_NEWGRF_PALETTE, w, bottom - y);
+ /* Draw the palette of the NewGRF */
+ SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS");
+ y += DrawStringMultiLine(x, y, STR_NEWGRF_PALETTE, w, bottom - y);
+ }
/* Show flags */
if (c->status == GCS_NOT_FOUND) y += DrawStringMultiLine(x, y, STR_NEWGRF_NOT_FOUND, w, bottom - y);