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

Vincent Povirk vincent at codeweavers.com
Thu Nov 30 13:30:39 CST 2017


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

+static WCHAR *create_testfontfile(const WCHAR *filename, int resource)
+{
+    static WCHAR pathW[MAX_PATH];
...
+    return pathW;
+}

I guess this is fine, but I think it'd be simpler to have the caller
pass in a buffer.



More information about the wine-devel mailing list