| author | peter1138 |
| Sat, 24 Mar 2007 18:56:59 +0000 | |
| changeset 6698 | 4d04ee4613aa |
| parent 6697 | a58fd5043165 |
| child 6699 | ff3ea89c64e4 |
| src/graph_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/graph_gui.cpp Sat Mar 24 16:09:39 2007 +0000 +++ b/src/graph_gui.cpp Sat Mar 24 18:56:59 2007 +0000 @@ -796,7 +796,7 @@ } /* Resize the window to fit the cargo types */ - ResizeWindow(w, 0, num_active * 8); + ResizeWindow(w, 0, max(num_active, 12U) * 8); /* Add widgets for each cargo type */ w->widget_count += num_active;