summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Misc.cpp b/src/Misc.cpp
index 54ee4be..21e5cac 100644
--- a/src/Misc.cpp
+++ b/src/Misc.cpp
@@ -427,7 +427,7 @@ char * clipboard_pull_text()
if(glbuffer!=NULL){
return mystrdup(glbuffer);
} else {
- return "";
+ return mystrdup("");
}
}
#elif defined(LIN) && defined(SDL_VIDEO_DRIVER_X11)
@@ -435,7 +435,7 @@ char * clipboard_pull_text()
#else
printf("Not implemented: get text from clipboard\n");
#endif
- return "";
+ return mystrdup("");
}
int register_extension()