summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2019-02-28 22:25:27 +0100
committerRay <[email protected]>2019-02-28 22:25:27 +0100
commit50da9f623e1c2c70530653399a9acf1092e30a1d (patch)
treeacf774abac5eabd61d16decd67fc3a080e1b3e3c
parentd679a97e926dce81ed64dc40612b6ac8f78ea264 (diff)
downloadraylib-50da9f623e1c2c70530653399a9acf1092e30a1d.tar.gz
raylib-50da9f623e1c2c70530653399a9acf1092e30a1d.zip
Return value in GetClipboardText()
-rw-r--r--src/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index bff92600..dc60eee4 100644
--- a/src/core.c
+++ b/src/core.c
@@ -990,6 +990,8 @@ const char *GetClipboardText(void)
{
#if defined(PLATFORM_DESKTOP)
return glfwGetClipboardString(window);
+#else
+ return NULL;
#endif
}