commit | a0126ec1ca145fa649afb66ef5bb3ccc9e3d665d | [log] [tgz] |
---|---|---|
author | Huw Davies <huw@codeweavers.com> | Fri Mar 05 13:49:51 2010 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Mar 05 15:21:27 2010 +0100 |
tree | d26c2545fe21ffedde3d4dfa648237eb011f6767 | |
parent | c6b6082d16796efeeb5cc1b118bbe795088571f2 [diff] |
shell32: Mask out the CSIDL_ flags.
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 2a4e17c..451d6ff 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c
@@ -2417,7 +2417,7 @@ /* The virtual folders' locations are not user-dependent */ *ppidl = NULL; - switch (nFolder) + switch (nFolder & CSIDL_FOLDER_MASK) { case CSIDL_DESKTOP: *ppidl = _ILCreateDesktop();