src/station_gui.cpp
changeset 7842 08babe3cf58a
parent 7824 5a63d41b59ea
child 7886 f0901496b7f1
--- a/src/station_gui.cpp	Wed Nov 07 23:29:43 2007 +0000
+++ b/src/station_gui.cpp	Thu Nov 08 16:09:04 2007 +0000
@@ -443,7 +443,7 @@
 
 				case STATIONLIST_WIDGET_SORTBY: /*flip sorting method asc/desc*/
 					sl->flags ^= SL_ORDER; //DESC-flag
-					station_sort.order = GB(sl->flags, 0, 1);
+					station_sort.order = HASBIT(sl->flags, 0);
 					sl->flags |= SL_RESORT;
 					w->flags4 |= 5 << WF_TIMEOUT_SHL;
 					LowerWindowWidget(w, STATIONLIST_WIDGET_SORTBY);