summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-21 01:38:13 +0000
committerrubidium <rubidium@openttd.org>2010-01-21 01:38:13 +0000
commitf94c83a3874c292ae0d90a7819c971e4bc7aebad (patch)
treea952b3b5ff3a44ae3b028ee995ee32f968cc2ba0 /src/newgrf_gui.cpp
parent02edae54542cf619cb8d0157d476be45df898119 (diff)
downloadopenttd-f94c83a3874c292ae0d90a7819c971e4bc7aebad.tar.xz
(svn r18872) -Codechange: introduce PaletteID and use it
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 3ec7f194e..23b08a854 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -663,7 +663,7 @@ struct NewGRFWindow : public Window {
for (const GRFConfig *c = this->list; c != NULL; c = c->next, i++) {
if (this->vscroll.IsVisible(i)) {
const char *text = (c->name != NULL && !StrEmpty(c->name)) ? c->name : c->filename;
- SpriteID pal;
+ PaletteID pal;
/* Pick a colour */
switch (c->status) {