(svn r1586) Fix: [ 1107340 ] Graphs don't show comapany info for company #8

This commit is contained in:
dominik 2005-01-22 15:50:54 +00:00
parent 5d443a2482
commit 6e17ee9fe2
1 changed files with 7 additions and 5 deletions

View File

@ -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;