Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
SetupWindowData in SDL_X11window.c was realloc()ing the display windo…
Browse files Browse the repository at this point in the history
…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 adeff71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11window.c
Expand Up @@ -477,7 +477,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
}

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

Expand Down

0 comments on commit adeff71

Please sign in to comment.