Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7a55f546
Commit
7a55f546
authored
Mar 11, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Mar 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Remove unused flag.
parent
dd275615
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
shellpath.c
dlls/shell32/tests/shellpath.c
+4
-8
No files found.
dlls/shell32/tests/shellpath.c
View file @
7a55f546
...
...
@@ -887,7 +887,6 @@ if (0) { /* crashes */
/* Standard CSIDL values (and their flags) uses only two less-significant bytes */
#define NO_CSIDL 0x10000
#define CSIDL_TODO_WINE 0x20000
#define KNOWN_FOLDER(id, csidl, name, category, parent, relative_path, parsing_name, attributes, definitionFlags) \
{ &id, # id, csidl, # csidl, name, category, &parent, # parent, relative_path, parsing_name, attributes, definitionFlags, __LINE__ }
...
...
@@ -1940,17 +1939,15 @@ static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId
*
current_known_folder_found
=
TRUE
;
found
=
TRUE
;
/* verify CSIDL */
if
(
known_folder
->
csidl
!=
NO_CSIDL
)
if
(
!
(
known_folder
->
csidl
&
NO_CSIDL
)
)
{
expectedCsidl
=
known_folder
->
csidl
&
(
~
CSIDL_TODO_WINE
);
/* mask off winetest flags */
expectedCsidl
=
known_folder
->
csidl
&
0xFFFF
;
hr
=
IKnownFolderManager_FolderIdToCsidl
(
mgr
,
folderId
,
&
csidl
);
ok_
(
__FILE__
,
known_folder
->
line
)(
hr
==
S_OK
,
"cannot retrieve CSIDL for folder %s
\n
"
,
known_folder
->
sFolderId
);
if
(
known_folder
->
csidl
&
CSIDL_TODO_WINE
)
todo_wine
ok_
(
__FILE__
,
known_folder
->
line
)(
csidl
==
expectedCsidl
,
"invalid CSIDL retrieved for folder %s. %d (%s) expected, but %d found
\n
"
,
known_folder
->
sFolderId
,
expectedCsidl
,
known_folder
->
sCsidl
,
csidl
);
else
ok_
(
__FILE__
,
known_folder
->
line
)(
csidl
==
expectedCsidl
,
"invalid CSIDL retrieved for folder %s. %d (%s) expected, but %d found
\n
"
,
known_folder
->
sFolderId
,
expectedCsidl
,
known_folder
->
sCsidl
,
csidl
);
ok_
(
__FILE__
,
known_folder
->
line
)(
csidl
==
expectedCsidl
,
"invalid CSIDL retrieved for folder %s. %d (%s) expected, but %d found
\n
"
,
known_folder
->
sFolderId
,
expectedCsidl
,
known_folder
->
sCsidl
,
csidl
);
}
hr
=
IKnownFolderManager_GetFolder
(
mgr
,
folderId
,
&
folder
);
...
...
@@ -2028,7 +2025,6 @@ static void check_known_folder(IKnownFolderManager *mgr, KNOWNFOLDERID *folderId
}
}
#undef NO_CSIDL
#undef CSIDL_TODO_WINE
static
void
test_knownFolders
(
void
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment