Changeset - r2543:8aa08346c4b3
[Not reviewed]
master
0 1 0
tron - 18 years ago 2005-10-20 17:23:33
tron@openttd.org
(svn r3072) CMD_RENAME_STATION isn't interested in the tile coordinates, so don't pass them
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
station_gui.c
Show inline comments
 
@@ -502,10 +502,8 @@ static void StationViewWndProc(Window *w
 

	
 
	case WE_ON_EDIT_TEXT: {
 
		if (e->edittext.str[0] != '\0') {
 
			Station* st = GetStation(w->window_number);
 

	
 
			_cmd_text = e->edittext.str;
 
			DoCommandP(st->xy, w->window_number, 0, NULL,
 
			DoCommandP(0, w->window_number, 0, NULL,
 
				CMD_RENAME_STATION | CMD_MSG(STR_3031_CAN_T_RENAME_STATION));
 
		}
 
	} break;
0 comments (0 inline, 0 general)