File diff r1322:ac830d6af496 → r1323:29249e0649f7
town_gui.c
Show inline comments
 
@@ -270,13 +270,13 @@ static void TownViewWndProc(Window *w, W
 
			DeleteTown(t);
 
			break;
 
		}
 
		break;
 

	
 
	case WE_ON_EDIT_TEXT: {
 
		byte *b = e->edittext.str;
 
		const char *b = e->edittext.str;
 
		if (*b == 0)
 
			return;
 
		memcpy(_decode_parameters, b, 32);
 
		DoCommandP(0, w->window_number, 0, NULL, CMD_RENAME_TOWN | CMD_MSG(STR_2008_CAN_T_RENAME_TOWN));
 
	} break;
 
	}