diff options
Diffstat (limited to 'town_gui.c')
-rw-r--r-- | town_gui.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/town_gui.c b/town_gui.c index 89d7d889a..f5d6e9a57 100644 --- a/town_gui.c +++ b/town_gui.c @@ -273,13 +273,13 @@ static void TownViewWndProc(Window *w, WindowEvent *e) } 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 @@ void ShowTownDirectory(void) w->resize.height = w->height - 10 * 6; // minimum of 10 items in the list, each item 10 high } } - - |