Commit 35322ed8470f681eb2b982efd1421196d5b3405a

Sam Lantinga 2018-02-01T15:46:51

Fixed building on tvOS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/uikit/SDL_uikitviewcontroller.m b/src/video/uikit/SDL_uikitviewcontroller.m
index 9ee70e8..2962742 100644
--- a/src/video/uikit/SDL_uikitviewcontroller.m
+++ b/src/video/uikit/SDL_uikitviewcontroller.m
@@ -99,8 +99,8 @@ SDL_HideHomeIndicatorHintChanged(void *userdata, const char *name, const char *o
         SDL_AddHintCallback(SDL_HINT_IOS_HIDE_HOME_INDICATOR,
                             SDL_HideHomeIndicatorHintChanged,
                             (__bridge void *) self);
-    }
 #endif
+    }
     return self;
 }