1
0

Merging r6288 through r6336 from trunk to ogl-es branch

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6337 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2022-04-15 18:51:09 +00:00
parent 67469c8899
commit 2d63fdba3d
115 changed files with 1828 additions and 1154 deletions

View File

@@ -73,12 +73,16 @@ void COSOperator::copyToClipboard(const c8* text) const
char * buffer;
clipbuffer = GlobalAlloc(GMEM_DDESHARE, strlen(text)+1);
buffer = (char*)GlobalLock(clipbuffer);
strcpy(buffer, text);
GlobalUnlock(clipbuffer);
SetClipboardData(CF_TEXT, clipbuffer);
if ( clipbuffer )
{
buffer = (char*)GlobalLock(clipbuffer);
if ( buffer )
{
strcpy(buffer, text);
}
GlobalUnlock(clipbuffer);
SetClipboardData(CF_TEXT, clipbuffer);
}
CloseClipboard();
#elif defined(_IRR_COMPILE_WITH_OSX_DEVICE_)