projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6c1f0
)
shell32/tests: Also test without flags.
author
André Hentschel
<nerv@dawncrow.de>
Mon, 9 May 2011 18:03:32 +0000
(20:03 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 10 May 2011 16:53:26 +0000
(18:53 +0200)
dlls/shell32/tests/brsfolder.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/shell32/tests/brsfolder.c
b/dlls/shell32/tests/brsfolder.c
index
7adaa1f
..
b7f920d
100644
(file)
--- a/
dlls/shell32/tests/brsfolder.c
+++ b/
dlls/shell32/tests/brsfolder.c
@@
-323,7
+323,6
@@
static void test_selection(void)
bi.hwndOwner = NULL;
bi.pszDisplayName = NULL;
bi.lpszTitle = (LPTSTR) title;
- bi.ulFlags = BIF_NEWDIALOGSTYLE;
bi.lpfn = selection_callback;
SHGetDesktopFolder(&desktop_object);
@@
-331,6
+330,15
@@
static void test_selection(void)
selected_folderW, 0UL, &selected_folder_pidl, 0UL);
bi.pidlRoot = selected_folder_pidl;
+ /* test without flags */
+ bi.ulFlags = 0;
+ pidl = SHBrowseForFolder(&bi);
+
+ if (pidl)
+ CoTaskMemFree(pidl);
+
+ /* test with flag */
+ bi.ulFlags = BIF_NEWDIALOGSTYLE;
pidl = SHBrowseForFolder(&bi);
if (pidl)