Przeglądaj źródła

Fixed iOS build

Sam Lantinga 2 tygodni temu
rodzic
commit
cece47c64d
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {
         if (text && *text) {
             [UIPasteboard generalPasteboard].string = @(text);
             [UIPasteboard generalPasteboard].string = @(text);
         } else {
         } else {
-            [UIPasteboard generalPasteboard].items = nil;
+            [UIPasteboard generalPasteboard].string = nil;
         }
         }
         data.setting_clipboard = false;
         data.setting_clipboard = false;
         return true;
         return true;