Signed-off-by: Zebediah Figura z.figura12@gmail.com --- Apologies for the rather large series, but I didn't want to leave minimized windows in a half-migrated state.
programs/explorer/desktop.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c index 27b9b24901..24ce8702a9 100644 --- a/programs/explorer/desktop.c +++ b/programs/explorer/desktop.c @@ -754,7 +754,6 @@ static BOOL get_default_enable_shell( const WCHAR *name ) 'E','x','p','l','o','r','e','r','\', 'D','e','s','k','t','o','p','s',0}; static const WCHAR enable_shellW[] = {'E','n','a','b','l','e','S','h','e','l','l',0}; - static const WCHAR shellW[] = {'s','h','e','l','l',0}; HKEY hkey; BOOL found = FALSE; BOOL result; @@ -767,9 +766,9 @@ static BOOL get_default_enable_shell( const WCHAR *name ) found = TRUE; RegCloseKey( hkey ); } - /* Default off, except for the magic desktop name "shell" */ + /* Default on */ if (!found) - result = (lstrcmpiW( name, shellW ) == 0); + result = TRUE; return result; }