1
0
Fork 0

(svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X

release/0.4.5
Darkvater 2005-09-14 19:22:06 +00:00
parent 2131f68ae2
commit db31fe8e15
1 changed files with 1 additions and 1 deletions

View File

@ -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);