aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/sdl/sdl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index a175c530ee..74c40ade10 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -479,6 +479,9 @@ Common::String OSystem_SDL::getTextFromClipboard() {
char *text = SDL_GetClipboardText();
Common::String strText = text;
SDL_free(text);
+
+ // FIXME: The string returned by SDL is in UTF-8, it is not clear
+ // what encoding should be used for the returned string.
return strText;
#else
return "";