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
81c05589
Commit
81c05589
authored
Sep 13, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use a signed value to assign single signed bitfields values.
parent
50adef19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
shellord.c
dlls/shell32/shellord.c
+11
-11
No files found.
dlls/shell32/shellord.c
View file @
81c05589
...
@@ -306,12 +306,12 @@ VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask)
...
@@ -306,12 +306,12 @@ VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask)
if
(
SSF_SHOWSYSFILES
&
dwMask
)
lpsfs
->
fShowSysFiles
=
0
;
if
(
SSF_SHOWSYSFILES
&
dwMask
)
lpsfs
->
fShowSysFiles
=
0
;
}
}
else
if
(
dwData
==
1
)
else
if
(
dwData
==
1
)
{
if
(
SSF_SHOWALLOBJECTS
&
dwMask
)
lpsfs
->
fShowAllObjects
=
1
;
{
if
(
SSF_SHOWALLOBJECTS
&
dwMask
)
lpsfs
->
fShowAllObjects
=
-
1
;
if
(
SSF_SHOWSYSFILES
&
dwMask
)
lpsfs
->
fShowSysFiles
=
0
;
if
(
SSF_SHOWSYSFILES
&
dwMask
)
lpsfs
->
fShowSysFiles
=
0
;
}
}
else
if
(
dwData
==
2
)
else
if
(
dwData
==
2
)
{
if
(
SSF_SHOWALLOBJECTS
&
dwMask
)
lpsfs
->
fShowAllObjects
=
0
;
{
if
(
SSF_SHOWALLOBJECTS
&
dwMask
)
lpsfs
->
fShowAllObjects
=
0
;
if
(
SSF_SHOWSYSFILES
&
dwMask
)
lpsfs
->
fShowSysFiles
=
1
;
if
(
SSF_SHOWSYSFILES
&
dwMask
)
lpsfs
->
fShowSysFiles
=
-
1
;
}
}
}
}
RegCloseKey
(
hKey
);
RegCloseKey
(
hKey
);
...
@@ -1182,15 +1182,15 @@ BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
...
@@ -1182,15 +1182,15 @@ BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
memset
(
cs
,
0
,
sizeof
(
*
cs
));
memset
(
cs
,
0
,
sizeof
(
*
cs
));
cs
->
cLength
=
sizeof
(
*
cs
);
cs
->
cLength
=
sizeof
(
*
cs
);
cs
->
nVersion
=
2
;
cs
->
nVersion
=
2
;
cs
->
fFullPathTitle
=
FALSE
;
cs
->
fFullPathTitle
=
0
;
cs
->
fSaveLocalView
=
TRUE
;
cs
->
fSaveLocalView
=
-
1
;
cs
->
fNotShell
=
FALSE
;
cs
->
fNotShell
=
0
;
cs
->
fSimpleDefault
=
TRUE
;
cs
->
fSimpleDefault
=
-
1
;
cs
->
fDontShowDescBar
=
FALSE
;
cs
->
fDontShowDescBar
=
0
;
cs
->
fNewWindowMode
=
FALSE
;
cs
->
fNewWindowMode
=
0
;
cs
->
fShowCompColor
=
FALSE
;
cs
->
fShowCompColor
=
0
;
cs
->
fDontPrettyNames
=
FALSE
;
cs
->
fDontPrettyNames
=
0
;
cs
->
fAdminsCreateCommonGroups
=
TRUE
;
cs
->
fAdminsCreateCommonGroups
=
-
1
;
cs
->
fMenuEnumFilter
=
96
;
cs
->
fMenuEnumFilter
=
96
;
}
}
...
...
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