change error in typing

GlobalLock on line 914
This commit is contained in:
Ricki Myers
2008-03-04 02:43:51 +00:00
parent ffcbff62dd
commit 6122ee1b21

View File

@@ -911,7 +911,7 @@ void GHOST_SystemWin32::putClipboard(GHOST_TInt8 *buffer, int flag) const
EmptyClipboard();
clipbuffer = LocalAlloc(LMEM_FIXED,((strlen(buffer)+1)));
data = (char*)GobalLock(clipbuffer);
data = (char*)GlobalLock(clipbuffer);
strcpy(data, (char*)buffer);
data[strlen(buffer)] = '\0';