From: Aida Jonikienė aidas957@gmail.com
--- programs/explorer/desktop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c index fb59258ad36..36c0304894a 100644 --- a/programs/explorer/desktop.c +++ b/programs/explorer/desktop.c @@ -38,7 +38,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(explorer); #define DESKTOP_CLASS_ATOM ((LPCWSTR)MAKEINTATOM(32769)) #define DESKTOP_ALL_ACCESS 0x01ff
-static const WCHAR default_driver[] = {'m','a','c',',','x','1','1',0}; +static const WCHAR default_driver[] = L"mac,x11";
static BOOL using_root = TRUE;
Alex Henrie (@alexhenrie) commented about programs/explorer/desktop.c:
#define DESKTOP_CLASS_ATOM ((LPCWSTR)MAKEINTATOM(32769)) #define DESKTOP_ALL_ACCESS 0x01ff
-static const WCHAR default_driver[] = {'m','a','c',',','x','1','1',0}; +static const WCHAR default_driver[] = L"mac,x11";
In my opinion, it would be better to delete the named constant and just use the literal `L"mac,x11"` in the `load_graphics_driver` function.