mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-28 22:18:28 +00:00
Fixed iOS build
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user