File diff r6955:42f59093f6f9 → r6956:6398843f1341
src/network/network_gui.cpp
Show inline comments
 
@@ -1519,8 +1519,8 @@ static const char *ChatTabCompletionNext
 

	
 
		FOR_ALL_TOWNS_FROM(t, *item - MAX_CLIENT_INFO) {
 
			/* Get the town-name via the string-system */
 
			SetDParam(0, t->townnameparts);
 
			GetString(chat_tab_temp_buffer, t->townnametype, lastof(chat_tab_temp_buffer));
 
			SetDParam(0, t->index);
 
			GetString(chat_tab_temp_buffer, STR_TOWN, lastof(chat_tab_temp_buffer));
 
			return &chat_tab_temp_buffer[0];
 
		}
 
	}