mirror of
https://github.com/love2d/love-android.git
synced 2026-08-20 04:31:26 +02:00
SDL: logging message box information
This commit is contained in:
@@ -3189,6 +3189,12 @@ SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
|||||||
X11_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
X11_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
||||||
retval = 0;
|
retval = 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#if __ANDROID__
|
||||||
|
if (retval == -1) {
|
||||||
|
SDL_Log ("SDL_ShowMessageBox[%s]: %s", messageboxdata->title, messageboxdata->message);
|
||||||
|
retval = 0;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if (retval == -1) {
|
if (retval == -1) {
|
||||||
SDL_SetError("No message system available");
|
SDL_SetError("No message system available");
|
||||||
|
|||||||
Reference in New Issue
Block a user