diff options
author | Darkvater <Darkvater@openttd.org> | 2005-09-14 19:22:06 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-09-14 19:22:06 +0000 |
commit | e0af70e212b4bb70b91802e5de2e41f9db8550f2 (patch) | |
tree | 74741eb55fe4d217e1ed689a93e77021e2294e7a | |
parent | c0c75ef16e57e6f2bbc8f3b7eeca2ec6b26ba053 (diff) | |
download | openttd-e0af70e212b4bb70b91802e5de2e41f9db8550f2.tar.xz |
(svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index 356e9cb7c..6383b2ec4 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -66,7 +66,7 @@ static void LandInfoWndProc(Window *w, WindowEvent *e) } DrawStringCentered(140, 38, str, 0); - snprintf(_userstring, lengthof(_userstring), "%.4X", lid->tile); + snprintf(_userstring, lengthof(_userstring), "0x%.4X", lid->tile); SetDParam(0, TileX(lid->tile)); SetDParam(1, TileY(lid->tile)); SetDParam(2, STR_SPEC_USERSTRING); |