Explorar el Código

Fixed iOS build

Sam Lantinga hace 6 meses
padre
commit
cece47c64d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/video/uikit/SDL_uikitclipboard.m

+ 1 - 1
src/video/uikit/SDL_uikitclipboard.m

@@ -38,7 +38,7 @@ bool UIKit_SetClipboardText(SDL_VideoDevice *_this, const char *text)
         if (text && *text) {
             [UIPasteboard generalPasteboard].string = @(text);
         } else {
-            [UIPasteboard generalPasteboard].items = nil;
+            [UIPasteboard generalPasteboard].string = nil;
         }
         data.setting_clipboard = false;
         return true;