diff options
| author | Rémi Verschelde | 2017-07-30 22:53:40 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-07-30 22:53:40 +0200 |
| commit | 76005a8e75d4e63ad0477e11dbc8cc1c86666875 (patch) | |
| tree | e177bf6b716fe267ac39ec3047ff0a2156e0a59b /platform/iphone | |
| parent | 55494073081bd111dc6af8502f77cf344c64b56c (diff) | |
| download | godot-76005a8e75d4e63ad0477e11dbc8cc1c86666875.tar.gz godot-76005a8e75d4e63ad0477e11dbc8cc1c86666875.tar.zst godot-76005a8e75d4e63ad0477e11dbc8cc1c86666875.zip | |
Style: Apply clang-format on all files
Thus fixing some invalid changes that had still made it to the master branch.
Diffstat (limited to 'platform/iphone')
| -rw-r--r-- | platform/iphone/gl_view.mm | 2 | ||||
| -rw-r--r-- | platform/iphone/ios.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm index 4b137b7ff..f2778e816 100644 --- a/platform/iphone/gl_view.mm +++ b/platform/iphone/gl_view.mm @@ -29,8 +29,8 @@ /*************************************************************************/ #import "gl_view.h" -#include "core/project_settings.h" #include "core/os/keyboard.h" +#include "core/project_settings.h" #include "os_iphone.h" #include "servers/audio_server.h" diff --git a/platform/iphone/ios.mm b/platform/iphone/ios.mm index e9c164393..6c9590324 100644 --- a/platform/iphone/ios.mm +++ b/platform/iphone/ios.mm @@ -36,7 +36,7 @@ void iOS::_bind_methods() { ClassDB::bind_method(D_METHOD("get_rate_url", "app_id"), &iOS::get_rate_url); }; -void iOS::alert(const char* p_alert, const char* p_title) { +void iOS::alert(const char *p_alert, const char *p_title) { UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:[NSString stringWithUTF8String:p_title] message:[NSString stringWithUTF8String:p_alert] delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] autorelease]; [alert show]; } |
