mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 22:42:52 +08: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) {
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user