diff options
author | tron <tron@openttd.org> | 2005-07-26 19:04:19 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-26 19:04:19 +0000 |
commit | a16418266e0cb317b2f338e5ca6e3d1aabdf67c5 (patch) | |
tree | dbb913c2b20dd2004ca5b9c2607ba47217ab2ca4 /misc_gui.c | |
parent | 7e65f441689917d9d476bc458dec303a0d4e4b7c (diff) | |
download | openttd-a16418266e0cb317b2f338e5ca6e3d1aabdf67c5.tar.xz |
(svn r2717) Move _userstring to strings.[ch]
Diffstat (limited to 'misc_gui.c')
-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 76aedeca0..3f679a5d4 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, USERSTRING_LEN, "%.4X", lid->tile); + snprintf(_userstring, lengthof(_userstring), "%.4X", lid->tile); SetDParam(0, TileX(lid->tile)); SetDParam(1, TileY(lid->tile)); SetDParam(2, STR_SPEC_USERSTRING); |