equal
deleted
inserted
replaced
1006 + (type == VEH_Train ? 1 : w->hscroll.cap); // number of boxes in each row. Trains always have just one |
1006 + (type == VEH_Train ? 1 : w->hscroll.cap); // number of boxes in each row. Trains always have just one |
1007 |
1007 |
1008 |
1008 |
1009 SetWindowWidgetsHiddenState(w, type != VEH_Train, |
1009 SetWindowWidgetsHiddenState(w, type != VEH_Train, |
1010 DEPOT_WIDGET_H_SCROLL, |
1010 DEPOT_WIDGET_H_SCROLL, |
1011 DEPOT_WIDGET_H_SCROLL, |
1011 DEPOT_WIDGET_SELL_CHAIN, |
1012 WIDGET_LIST_END); |
1012 WIDGET_LIST_END); |
1013 |
1013 |
1014 /* Move the widgets to their right locations */ |
1014 /* Move the widgets to their right locations */ |
1015 ResizeWindowWidgets(w, widget_moves, lengthof(widget_moves), horizontal, vertical); |
1015 ResizeWindowWidgets(w, widget_moves, lengthof(widget_moves), horizontal, vertical); |
1016 |
1016 |