# HG changeset patch # User Darkvater # Date 1126725726 0 # Node ID 3362e577adb1c5b11391371c66b6f2e5a79dc8f2 # Parent 99e1e8430a28090d94459dd3c40cdc26ae1db634 (svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X diff -r 99e1e8430a28 -r 3362e577adb1 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);