From 2cc2154ad26b96b032df2f4fca0ce1634e6330b2 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Oct 2005 06:39:32 +0000 Subject: (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up --- roadveh_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roadveh_gui.c') diff --git a/roadveh_gui.c b/roadveh_gui.c index 0bc85c357..be6928989 100644 --- a/roadveh_gui.c +++ b/roadveh_gui.c @@ -487,13 +487,13 @@ static void NewRoadVehWndProc(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, WP(w, buildtrain_d).rename_engine, 0, NULL, CMD_RENAME_ENGINE | CMD_MSG(STR_9037_CAN_T_RENAME_ROAD_VEHICLE)); } - } break; + break; case WE_RESIZE: { if (e->sizing.diff.y == 0) -- cgit v1.2.3-54-g00ecf