[PATCH] winex11.drv: import X11's "text/html" as "HTML Format" (try 2)
Alexandre Julliard
julliard at winehq.org
Tue Nov 8 12:19:59 CST 2016
Damjan Jovanovic <damjan.jov at 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 at winehq.org
More information about the wine-devel
mailing list