mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-23 20:06:40 +00:00
WIN_SetWindowProgressState(): Unsupported parameter error message
This commit is contained in:
committed by
Sam Lantinga
parent
c217663fba
commit
035d9179a5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user