diff options
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/cl_ui.c | 22 | 
1 files changed, 1 insertions, 21 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c index 225b81e0..5ad8e916 100644 --- a/src/client/cl_ui.c +++ b/src/client/cl_ui.c @@ -641,26 +641,6 @@ static void CL_GetGlconfig( glconfig_t *config ) {  /*  ==================== -CL_GetClipboardData -==================== -*/ -static void CL_GetClipboardData( char *buf, int buflen ) { -	char	*cbd; - -	cbd = Sys_GetClipboardData(); - -	if ( !cbd ) { -		*buf = 0; -		return; -	} - -	Q_strncpyz( buf, cbd, buflen ); - -	Z_Free( cbd ); -} - -/* -====================  GetConfigString  ====================  */ @@ -885,7 +865,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {  		return 0;  	case UI_GETCLIPBOARDDATA: -		CL_GetClipboardData( VMA(1), args[2] ); +		((char *)VMA(1))[0] = '\0';  		return 0;  	case UI_GETCLIENTSTATE:  | 
