[=PATCH v5 2/2] gdiplus: In GdipPrivateAddMemoryFont allow loading fonts with long names

Vincent Povirk vincent at codeweavers.com
Mon Nov 20 13:35:55 CST 2017


Signed-off-by: Vincent Povirk <vincent at codeweavers.com>

+    res = FindResourceA(GetModuleHandleA(NULL),
(LPCSTR)MAKEINTRESOURCE(resource), (LPCSTR)RT_RCDATA);

I'm not sure it matters, but you can use MAKEINTRESOURCEA to avoid the cast.



More information about the wine-devel mailing list