Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

SetupWindowData in SDL_X11window.c was realloc()ing the display windo…

…w 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.
  • Loading branch information
pendletonrc committed Mar 4, 2008
1 parent 94a4b4f commit adeff71c37bceb9b3364d9595be436210f7029c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11window.c
@@ -477,7 +477,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)

X11_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
X11_CreateWindowFrom(_THIS, SDL_Window *window, const void *data)
Window w = (Window) data;

0 comments on commit adeff71

Please sign in to comment.