From 239991944de2569740d753e33b67d990fd3b21f7 Mon Sep 17 00:00:00 2001 From: bjarni Date: Tue, 10 Oct 2006 08:34:14 +0000 Subject: (svn r6716) -Code cleanup: [aircraft/train build windows] fixed a spelling mistake in the widget names (the game itself is unaffected by this) --- train_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'train_gui.c') diff --git a/train_gui.c b/train_gui.c index cd9eff36f..292d88f5c 100644 --- a/train_gui.c +++ b/train_gui.c @@ -27,7 +27,7 @@ typedef enum BuildTrainWidgets { BUILD_TRAIN_WIDGET_CLOSEBOX = 0, BUILD_TRAIN_WIDGET_CAPTION, - BUILD_TRAIN_WIDGET_SORT_ASSENDING_DESENTING, + BUILD_TRAIN_WIDGET_SORT_ASSENDING_DESCENDING, BUILD_TRAIN_WIDGET_SORT_TEXT, BUILD_TRAIN_WIDGET_SORT_DROPDOWN, BUILD_TRAIN_WIDGET_LIST, @@ -563,7 +563,7 @@ static void NewRailVehicleWndProc(Window *w, WindowEvent *e) case WE_CLICK: { switch (e->we.click.widget) { - case BUILD_TRAIN_WIDGET_SORT_ASSENDING_DESENTING: + case BUILD_TRAIN_WIDGET_SORT_ASSENDING_DESCENDING: WP(w,buildvehicle_d).decenting_sort_order = !WP(w,buildvehicle_d).decenting_sort_order; _last_sort_order = WP(w,buildvehicle_d).decenting_sort_order; SortTrainBuildList(w); -- cgit v1.2.3-54-g00ecf