Get clipboard data from SDL

This makes pasting in client console and UI edit fields work on X11 and OS X.

Sys_GetClipboardData is only used by client, so returning NULL in dedicated is fine.
This commit is contained in:
Zack Middleton committed 2014-08-27 04:32:05 -05:00
1 parent 077f6bd068
commit 137ddb9dc6
3 files changed
+29 -37

No files matched your search

-10
View File
@@ -148,16 +148,6 @@ char *Sys_GetCurrentUser( void )
return p->pw_name;
}
/*
==================
Sys_GetClipboardData
==================
*/
char *Sys_GetClipboardData(void)
{
return NULL;
}
#define MEM_THRESHOLD 96*1024*1024
/*