Add missing minor changes to internal Clipboard API
This commit is contained in:
@@ -12,7 +12,7 @@ namespace lime {
|
|||||||
|
|
||||||
static const char* GetText ();
|
static const char* GetText ();
|
||||||
static bool HasText ();
|
static bool HasText ();
|
||||||
static void SetText (const char* text);
|
static bool SetText (const char* text);
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -69,9 +69,9 @@ namespace lime {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Clipboard::SetText (const char* text) {
|
bool Clipboard::SetText (const char* text) {
|
||||||
|
|
||||||
SDL_SetClipboardText (text);
|
return (SDL_SetClipboardText (text) == 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user