mirror of https://github.com/encounter/SDL.git
Fixed whitespace
This commit is contained in:
parent
54bb9aaccb
commit
cd703b5628
|
@ -85,10 +85,10 @@ UIKit_ShowMessageBoxAlertController(const SDL_MessageBoxData *messageboxdata, in
|
||||||
}
|
}
|
||||||
|
|
||||||
action = [UIAlertAction actionWithTitle:@(sdlButton->text)
|
action = [UIAlertAction actionWithTitle:@(sdlButton->text)
|
||||||
style:style
|
style:style
|
||||||
handler:^(UIAlertAction *action) {
|
handler:^(UIAlertAction *action) {
|
||||||
clickedindex = (int)(sdlButton - messageboxdata->buttons);
|
clickedindex = (int)(sdlButton - messageboxdata->buttons);
|
||||||
}];
|
}];
|
||||||
[alert addAction:action];
|
[alert addAction:action];
|
||||||
|
|
||||||
if (sdlButton->flags & SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT) {
|
if (sdlButton->flags & SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT) {
|
||||||
|
@ -176,9 +176,9 @@ UIKit_ShowMessageBoxAlertView(const SDL_MessageBoxData *messageboxdata, int *but
|
||||||
|
|
||||||
alert.delegate = nil;
|
alert.delegate = nil;
|
||||||
|
|
||||||
if (messageboxdata->flags & SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT) {
|
if (messageboxdata->flags & SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT) {
|
||||||
clickedindex = messageboxdata->numbuttons - 1 - clickedindex;
|
clickedindex = messageboxdata->numbuttons - 1 - clickedindex;
|
||||||
}
|
}
|
||||||
*buttonid = messageboxdata->buttons[clickedindex].buttonid;
|
*buttonid = messageboxdata->buttons[clickedindex].buttonid;
|
||||||
return YES;
|
return YES;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue