(svn r2717) Move _userstring to strings.[ch]

This commit is contained in:
tron
2005-07-26 19:04:19 +00:00
parent 7e65f44168
commit a16418266e
5 changed files with 7 additions and 6 deletions

View File

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