[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH v6 2/2] gdiplus: In GdipPrivateAddMemoryFont allow loading fonts with long names
From:       Vincent Povirk <vincent () codeweavers ! com>
Date:       2017-11-30 19:30:39
Message-ID: CAAFPtVTjUotKOceLW8G_gMGa6sdfsmBKX8vxD=wCeGaCZsdQjw () mail ! gmail ! com
[Download RAW message or body]

Signed-off-by: Vincent Povirk <vincent@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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic