src/video/windows/SDL_windowswindow.c
changeset 8238 9e09e1561e00
parent 8205 1a97f96f55cd
child 8253 75ad8ebb3768
     1.1 --- a/src/video/windows/SDL_windowswindow.c	Sat Feb 22 17:32:18 2014 -0800
     1.2 +++ b/src/video/windows/SDL_windowswindow.c	Sat Feb 22 17:39:35 2014 -0800
     1.3 @@ -673,7 +673,7 @@
     1.4  
     1.5      /* Register the class. */
     1.6      SDL_HelperWindowClass = RegisterClass(&wce);
     1.7 -    if (SDL_HelperWindowClass == 0) {
     1.8 +    if (SDL_HelperWindowClass == 0 && GetLastError() != ERROR_CLASS_ALREADY_EXISTS) {
     1.9          return WIN_SetError("Unable to create Helper Window Class");
    1.10      }
    1.11