File diff r12410:4bb7a12b2f71 → r12411:4ac6b3dd713f
src/strings.cpp
Show inline comments
 
@@ -858,13 +858,13 @@ static char *FormatString(char *buff, co
 
				assert(wp != NULL);
 

	
 
				if (wp->name != NULL) {
 
					buff = strecpy(buff, wp->name, last);
 
				} else {
 
					int64 temp[2];
 
					temp[0] = wp->town_index;
 
					temp[0] = wp->town->index;
 
					temp[1] = wp->town_cn + 1;
 
					StringID str = wp->town_cn == 0 ? STR_WAYPOINTNAME_CITY : STR_WAYPOINTNAME_CITY_SERIAL;
 

	
 
					buff = GetStringWithArgs(buff, str, temp, last);
 
				}
 
				break;