mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
WinRT: fixed the max-button count for WinPhone 8.1 message boxes
Doh. The max button count on WinPhone 8.1 was set to three, not two. Any more than two leads to a crash.
This commit is contained in:
parent
ea99e0c03e
commit
49cef77e31
@ -59,7 +59,7 @@ WINRT_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||
SDL_VideoDevice *_this = SDL_GetVideoDevice();
|
||||
|
||||
#if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
|
||||
const int maxbuttons = 3;
|
||||
const int maxbuttons = 2;
|
||||
const char * platform = "Windows Phone 8.1+";
|
||||
#else
|
||||
const int maxbuttons = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user