mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r1586) Fix: [ 1107340 ] Graphs don't show comapany info for company #8
This commit is contained in:
parent
eee7d2e50d
commit
848879f301
12
graph_gui.c
12
graph_gui.c
@ -345,7 +345,8 @@ static void OperatingProfitWndProc(Window *w, WindowEvent *e)
|
||||
i++;
|
||||
}
|
||||
}
|
||||
gd.num_dataset=numd;
|
||||
|
||||
gd.num_dataset = numd + 1;
|
||||
|
||||
DrawGraph(&gd);
|
||||
} break;
|
||||
@ -418,7 +419,7 @@ static void IncomeGraphWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
}
|
||||
|
||||
gd.num_dataset = numd;
|
||||
gd.num_dataset = numd + 1;
|
||||
|
||||
DrawGraph(&gd);
|
||||
break;
|
||||
@ -491,7 +492,7 @@ static void DeliveredCargoGraphWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
}
|
||||
|
||||
gd.num_dataset = numd;
|
||||
gd.num_dataset = numd + 1;
|
||||
|
||||
DrawGraph(&gd);
|
||||
break;
|
||||
@ -783,7 +784,8 @@ static void PerformanceHistoryWndProc(Window *w, WindowEvent *e)
|
||||
i++;
|
||||
}
|
||||
}
|
||||
gd.num_dataset = numd;
|
||||
|
||||
gd.num_dataset = numd + 1;
|
||||
|
||||
DrawGraph(&gd);
|
||||
break;
|
||||
@ -859,8 +861,8 @@ static void CompanyValueGraphWndProc(Window *w, WindowEvent *e)
|
||||
i++;
|
||||
}
|
||||
}
|
||||
gd.num_dataset = numd;
|
||||
|
||||
gd.num_dataset = numd + 1;
|
||||
|
||||
DrawGraph(&gd);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user