Explorar el Código

SDL_windowsmodes.c (WIN_GetDisplayNameVista): fix return after PR/9923

why haven't any of the build tests catch this..
Ozkan Sezer hace 1 año
padre
commit
5aa9ee8446
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/video/windows/SDL_windowsmodes.c

+ 1 - 1
src/video/windows/SDL_windowsmodes.c

@@ -249,7 +249,7 @@ static char *WIN_GetDisplayNameVista(SDL_VideoData *videodata, const WCHAR *devi
     LONG rc;
 
     if (!videodata->GetDisplayConfigBufferSizes || !videodata->QueryDisplayConfig || !videodata->DisplayConfigGetDeviceInfo) {
-        return SDL_FALSE;
+        return NULL;
     }
 
     do {