On Wed, Jun 24, 2020 at 10:19:18AM +0100, Huw Davies wrote:
Signed-off-by: Huw Davies huw@codeweavers.com
dlls/user32/user_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/user_main.c b/dlls/user32/user_main.c index 31a6168108c..f050e5d92e5 100644 --- a/dlls/user32/user_main.c +++ b/dlls/user32/user_main.c @@ -173,7 +173,7 @@ static const WCHAR *get_default_desktop(void) static const WCHAR app_defaultsW[] = {'S','o','f','t','w','a','r','e','\', 'W','i','n','e','\', 'A','p','p','D','e','f','a','u','l','t','s',0};
- static WCHAR buffer[MAX_PATH + ARRAY_SIZE(explorerW)];
- WCHAR buffer[MAX_PATH + ARRAY_SIZE(explorerW)]; WCHAR *p, *appname = buffer; const WCHAR *ret = defaultW; DWORD len;
Actually ignore this. We may return a ptr to this buffer...
Huw.