(svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X
authorDarkvater
Wed, 14 Sep 2005 19:22:06 +0000
changeset 2426 3362e577adb1
parent 2425 99e1e8430a28
child 2427 b7a0ad02af26
(svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X
misc_gui.c
--- a/misc_gui.c	Wed Sep 14 18:03:38 2005 +0000
+++ b/misc_gui.c	Wed Sep 14 19:22:06 2005 +0000
@@ -66,7 +66,7 @@
 		}
 		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);