summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authorpasky <pasky@openttd.org>2004-11-22 21:48:40 +0000
committerpasky <pasky@openttd.org>2004-11-22 21:48:40 +0000
commitbf587e9aacd8c552770b6cf68635455c089b2d7d (patch)
tree90cd38d669f9f23f6ab96061875b5d753fda9f8c /settings_gui.c
parent3ee0dee12a06c26f0984028a1a56a3f3b240447f (diff)
downloadopenttd-bf587e9aacd8c552770b6cf68635455c089b2d7d.tar.xz
(svn r768) In the NewGRF manager, show GRF ids as 8-digit hex numbers (that's how they are supposed to look).
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c
index e5e290c7a..2d2992eb9 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -982,8 +982,8 @@ static void NewgrfWndProc(Window *w, WindowEvent *e)
// draw grf id
x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
- SET_DPARAM16(0, _sel_grffile->grfid);
- DrawString(x + 2, 209, STR_7024, 0x01);
+ snprintf(_userstring, USERSTRING_LEN, "%08X", _sel_grffile->grfid);
+ DrawString(x + 2, 209, STR_SPEC_USERSTRING, 0x01);
}
} break;