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

why haven't any of the build tests catch this..
This commit is contained in:
Ozkan Sezer committed 2024-05-31 11:33:50 +03:00
1 parent 90beffdeb1
commit 5aa9ee8446
1 file changed
+1 -1
+1 -1
View File
@@ -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 {