(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.

This commit is contained in:
rubidium
2007-12-13 18:46:04 +00:00
parent ceabed7e7e
commit 2160338662
3 changed files with 22 additions and 3 deletions

View File

@@ -22,7 +22,7 @@
/* delta between mouse cursor and upper left corner of dragged window */
static Point _drag_delta;
static Window _windows[25];
static Window _windows[MAX_NUMBER_OF_WINDOWS];
Window *_z_windows[lengthof(_windows)];
Window **_last_z_window; ///< always points to the next free space in the z-array