changeset 2548 | 97ada3bd2702 |
parent 2406 | be5cfb8cd20d |
child 2549 | f1d3b383d557 |
--- a/town_gui.c Fri Oct 21 12:24:55 2005 +0000 +++ b/town_gui.c Sat Oct 22 06:39:32 2005 +0000 @@ -273,13 +273,13 @@ } break; - case WE_ON_EDIT_TEXT: { + case WE_ON_EDIT_TEXT: if (e->edittext.str[0] != '\0') { _cmd_text = e->edittext.str; DoCommandP(0, w->window_number, 0, NULL, CMD_RENAME_TOWN | CMD_MSG(STR_2008_CAN_T_RENAME_TOWN)); } - } break; + break; } } @@ -525,5 +525,3 @@ w->resize.height = w->height - 10 * 6; // minimum of 10 items in the list, each item 10 high } } - -