src/video/uikit/SDL_uikitwindow.m
branchiOS-improvements
changeset 9537 ff30c198864e
parent 9532 318042c16b76
child 9540 32ddc92d78cf
     1.1 --- a/src/video/uikit/SDL_uikitwindow.m	Mon Apr 06 15:26:37 2015 -0300
     1.2 +++ b/src/video/uikit/SDL_uikitwindow.m	Wed Apr 08 15:35:07 2015 -0300
     1.3 @@ -222,11 +222,7 @@
     1.4  {
     1.5      @autoreleasepool {
     1.6          SDL_WindowData *data = (__bridge SDL_WindowData *) window->driverdata;
     1.7 -        if (window->title) {
     1.8 -            data.viewcontroller.title = @(window->title);
     1.9 -        } else {
    1.10 -            data.viewcontroller.title = nil;
    1.11 -        }
    1.12 +        data.viewcontroller.title = @(window->title);
    1.13      }
    1.14  }
    1.15