summaryrefslogtreecommitdiff
path: root/src/sys/sys_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/sys_win32.c')
-rw-r--r--src/sys/sys_win32.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/sys/sys_win32.c b/src/sys/sys_win32.c
index 034d1572..a2554b89 100644
--- a/src/sys/sys_win32.c
+++ b/src/sys/sys_win32.c
@@ -192,33 +192,6 @@ char *Sys_GetCurrentUser( void )
return s_userName;
}
-/*
-================
-Sys_GetClipboardData
-================
-*/
-char *Sys_GetClipboardData( void )
-{
- char *data = NULL;
- char *cliptext;
-
- if ( OpenClipboard( NULL ) != 0 ) {
- HANDLE hClipboardData;
-
- if ( ( hClipboardData = GetClipboardData( CF_TEXT ) ) != 0 ) {
- if ( ( cliptext = GlobalLock( hClipboardData ) ) != 0 ) {
- data = Z_Malloc( GlobalSize( hClipboardData ) + 1 );
- Q_strncpyz( data, cliptext, GlobalSize( hClipboardData ) );
- GlobalUnlock( hClipboardData );
-
- strtok( data, "\n\r\b" );
- }
- }
- CloseClipboard();
- }
- return data;
-}
-
#define MEM_THRESHOLD 96*1024*1024
/*