diff src/video/uikit/SDL_uikitwindow.m @ 5256:1b0de3574c58

Fixed compile in Xcode
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 10:18:34 -0800
parents 7a963be087ef
children b530ef003506
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitwindow.m	Fri Feb 11 10:13:30 2011 -0800
+++ b/src/video/uikit/SDL_uikitwindow.m	Fri Feb 11 10:18:34 2011 -0800
@@ -90,7 +90,7 @@
     UIScreen *uiscreen = (UIScreen *) display->driverdata;
 
     // SDL currently puts this window at the start of display's linked list. We rely on this.
-    SDL_assert(display->windows == window);
+    SDL_assert(_this->windows == window);
 
     /* We currently only handle a single window per display on iPhone */
     if (window->next != NULL) {