changeset 2321:c5feceb0395e

SetupWindowData in SDL_X11window.c was realloc()ing the display window list and incrementing numwindows even though those are being updated in functions that call this function. The result is that it is possible to get the same window added to the list twice.
author Bob Pendleton <bob@pendleton.com>
date Tue, 04 Mar 2008 23:09:28 +0000
parents 166400aa33d7
children c25d45b7add3
files src/video/x11/SDL_x11window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11window.c	Sat Mar 01 20:34:36 2008 +0000
+++ b/src/video/x11/SDL_x11window.c	Tue Mar 04 23:09:28 2008 +0000
@@ -477,7 +477,7 @@
 }
 
 int
-X11_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
+X11_CreateWindowFrom(_THIS, SDL_Window *window, const void *data)
 {
     Window w = (Window) data;