src/graph_gui.cpp
branchgamebalance
changeset 9907 3b068c3a1c74
parent 9906 6f41b8713b65
child 9909 dce9a6923bb7
--- a/src/graph_gui.cpp	Thu Apr 19 14:43:25 2007 +0000
+++ b/src/graph_gui.cpp	Thu Apr 19 14:48:10 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;