WIN_SetWindowProgressState(): Unsupported parameter error message

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2025-03-23 10:32:19 -07:00
1 parent c217663fba
commit 035d9179a5
1 file changed
+1 -1
+1 -1
View File
@@ -2276,7 +2276,7 @@ bool WIN_SetWindowProgressState(SDL_VideoDevice *_this, SDL_Window *window, SDL_
tbpFlags = TBPF_ERROR;
break;
default:
return SDL_Unsupported();
return SDL_SetError("Parameter 'state' is not supported");
}
HRESULT ret = taskbar_list->lpVtbl->SetProgressState(taskbar_list, window->internal->hwnd, tbpFlags);