Re: [PATCH] winex11.drv: import X11's "text/html" as "HTML Format" (try 2)
8 Nov
2016
8 Nov
'16
6:19 p.m.
Damjan Jovanovic <damjan.jov(a)gmail.com> writes:
+ hClipData = GlobalAlloc(GMEM_MOVEABLE | GMEM_DDESHARE, clipDataSize); + if (hClipData) + { + char *htmlFormat = GlobalLock(hClipData); + snprintf(htmlFormat, clipDataSize, "%s%s%s%s", description, startFragment, textHtml, endFragment); + TRACE("incoming \"HTML Format\" with these contents:\n%s\n", htmlFormat); + GlobalUnlock(hClipData); + }
This should be GMEM_FIXED now. Please check how it's done in other functions. -- Alexandre Julliard julliard(a)winehq.org
3325
Age (days ago)
3325
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard