Przeglądaj źródła

Return value in GetClipboardText()

Ray 6 lat temu
rodzic
commit
50da9f623e
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/core.c

+ 2 - 0
src/core.c

@@ -990,6 +990,8 @@ const char *GetClipboardText(void)
 {
 #if defined(PLATFORM_DESKTOP)
     return glfwGetClipboardString(window);
+#else
+    return NULL;
 #endif
 }