(svn r19585) [1.0] -Backport from trunk:

- Feature: [NewGRF] Support for extended text code 0x9A 11, print qword (r19570)
- Change: Sync Debian packaging updates from Debian, but keep building a single package (r19572)
- Fix: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft [FS#3744] (r19584)
- Fix: Graphs were not properly updated when going toggling keys (i.e. companies) (r19574)
- Fix: The timetable button was not automatically raised [FS#3739] (r19571)
- Fix: [NewGRF] Possible buffer underflow in NewGRF string code (r19569)
This commit is contained in:
rubidium
2010-04-08 15:40:46 +00:00
parent bb74ec40ea
commit d197bcae1c
19 changed files with 313 additions and 200 deletions
+3 -1
View File
@@ -621,6 +621,8 @@ private:
*/
void OrderClick_Nonstop(int non_stop)
{
if (this->vehicle->type != VEH_TRAIN && this->vehicle->type != VEH_ROAD) return;
VehicleOrderID sel_ord = this->OrderGetSel();
const Order *order = this->vehicle->GetOrder(sel_ord);
@@ -1277,7 +1279,7 @@ public:
virtual void OnTimeout()
{
static const int raise_widgets[] = {
ORDER_WIDGET_SKIP, ORDER_WIDGET_DELETE, ORDER_WIDGET_REFIT, ORDER_WIDGET_SHARED_ORDER_LIST, WIDGET_LIST_END,
ORDER_WIDGET_TIMETABLE_VIEW, ORDER_WIDGET_SKIP, ORDER_WIDGET_DELETE, ORDER_WIDGET_REFIT, ORDER_WIDGET_SHARED_ORDER_LIST, WIDGET_LIST_END,
};
/* Unclick all buttons in raise_widgets[]. */