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;
|
tbpFlags = TBPF_ERROR;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return SDL_Unsupported();
|
return SDL_SetError("Parameter 'state' is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT ret = taskbar_list->lpVtbl->SetProgressState(taskbar_list, window->internal->hwnd, tbpFlags);
|
HRESULT ret = taskbar_list->lpVtbl->SetProgressState(taskbar_list, window->internal->hwnd, tbpFlags);
|
||||||
|
|||||||
Reference in New Issue
Block a user