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
2295e87b
Commit
2295e87b
authored
Feb 02, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some more missing parenthesis issues.
parent
b6e84187
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
14 deletions
+14
-14
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+3
-3
header.c
dlls/comctl32/header.c
+1
-1
rebar.c
dlls/comctl32/rebar.c
+1
-1
fontdlg.c
dlls/commdlg/fontdlg.c
+6
-6
iconcache.c
dlls/shell32/iconcache.c
+1
-1
client.c
dlls/user/dde/client.c
+1
-1
msmangle.c
tools/winedump/msmangle.c
+1
-1
No files found.
dlls/comctl32/comctl32undoc.c
View file @
2295e87b
...
...
@@ -51,7 +51,7 @@ typedef struct _LOADDATA
PVOID
ptr
;
}
LOADDATA
,
*
LPLOADDATA
;
typedef
HRESULT
CALLBACK
(
*
DPALOADPROC
)(
LPLOADDATA
,
IStream
*
,
LPARAM
);
typedef
HRESULT
(
CALLBACK
*
DPALOADPROC
)(
LPLOADDATA
,
IStream
*
,
LPARAM
);
INT
__cdecl
_wtoi
(
LPWSTR
string
);
...
...
@@ -264,7 +264,7 @@ DPA_Merge (const HDPA hdpa1, const HDPA hdpa2, DWORD dwFlags,
}
else
if
(
nResult
<
0
)
{
if
(
!
dwFlags
&
8
)
if
(
!
(
dwFlags
&
8
)
)
{
PVOID
ptr
;
...
...
@@ -277,7 +277,7 @@ DPA_Merge (const HDPA hdpa1, const HDPA hdpa2, DWORD dwFlags,
}
else
{
if
(
!
dwFlags
&
4
)
if
(
!
(
dwFlags
&
4
)
)
{
PVOID
ptr
;
...
...
dlls/comctl32/header.c
View file @
2295e87b
...
...
@@ -883,7 +883,7 @@ HEADER_InsertItemA (HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
lpItem
->
fmt
==
0
)
lpItem
->
fmt
=
HDF_LEFT
;
if
(
!
(
lpItem
->
fmt
&
HDF_STRING
)
&&
(
phdi
->
mask
&
HDI_TEXT
))
if
(
!
(
lpItem
->
fmt
&
HDF_STRING
)
&&
(
phdi
->
mask
&
HDI_TEXT
))
{
lpItem
->
fmt
|=
HDF_STRING
;
}
...
...
dlls/comctl32/rebar.c
View file @
2295e87b
...
...
@@ -1727,7 +1727,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
iband
=
infoPtr
->
rows
[
i
-
1
].
istartband
;
lpBand
=
&
infoPtr
->
bands
[
iband
];
if
(
HIDDENBAND
(
lpBand
))
continue
;
if
(
!
lpBand
->
fMask
&
RBBS_VARIABLEHEIGHT
)
continue
;
if
(
!
(
lpBand
->
fMask
&
RBBS_VARIABLEHEIGHT
)
)
continue
;
if
(((
INT
)
lpBand
->
cyMaxChild
<
1
)
||
((
INT
)
lpBand
->
cyIntegral
<
1
))
{
if
(
lpBand
->
cyMaxChild
+
lpBand
->
cyIntegral
==
0
)
continue
;
...
...
dlls/commdlg/fontdlg.c
View file @
2295e87b
...
...
@@ -636,9 +636,9 @@ static INT AddFontStyle(const LOGFONTA *lplf, UINT nFontType,
if
(
!
SendMessageA
(
hcmb2
,
CB_GETCOUNT
,
0
,
0
))
{
HDC
hdc
=
(
lpcf
->
Flags
&
CF_PRINTERFONTS
&&
lpcf
->
hDC
)
?
lpcf
->
hDC
:
GetDC
(
hDlg
);
HDC
hdc
=
(
(
lpcf
->
Flags
&
CF_PRINTERFONTS
)
&&
lpcf
->
hDC
)
?
lpcf
->
hDC
:
GetDC
(
hDlg
);
i
=
SetFontStylesToCombo2
(
hcmb2
,
hdc
,
lplf
);
if
(
!
(
lpcf
->
Flags
&
CF_PRINTERFONTS
&&
lpcf
->
hDC
))
if
(
!
(
(
lpcf
->
Flags
&
CF_PRINTERFONTS
)
&&
lpcf
->
hDC
))
ReleaseDC
(
hDlg
,
hdc
);
if
(
i
)
return
0
;
...
...
@@ -733,7 +733,7 @@ static LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
ShowWindow
(
GetDlgItem
(
hDlg
,
grp1
),
SW_HIDE
);
ShowWindow
(
GetDlgItem
(
hDlg
,
stc4
),
SW_HIDE
);
}
hdc
=
(
lpcf
->
Flags
&
CF_PRINTERFONTS
&&
lpcf
->
hDC
)
?
lpcf
->
hDC
:
GetDC
(
hDlg
);
hdc
=
(
(
lpcf
->
Flags
&
CF_PRINTERFONTS
)
&&
lpcf
->
hDC
)
?
lpcf
->
hDC
:
GetDC
(
hDlg
);
if
(
hdc
)
{
CFn_ENUMSTRUCT
s
;
...
...
@@ -811,7 +811,7 @@ static LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
return
FALSE
;
}
if
(
!
(
lpcf
->
Flags
&
CF_PRINTERFONTS
&&
lpcf
->
hDC
))
if
(
!
(
(
lpcf
->
Flags
&
CF_PRINTERFONTS
)
&&
lpcf
->
hDC
))
ReleaseDC
(
hDlg
,
hdc
);
SetCursor
(
hcursor
);
return
TRUE
;
...
...
@@ -968,7 +968,7 @@ static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam,
{
case
cmb1
:
if
(
HIWORD
(
wParam
)
==
CBN_SELCHANGE
)
{
hdc
=
(
lpcf
->
Flags
&
CF_PRINTERFONTS
&&
lpcf
->
hDC
)
?
lpcf
->
hDC
:
GetDC
(
hDlg
);
hdc
=
(
(
lpcf
->
Flags
&
CF_PRINTERFONTS
)
&&
lpcf
->
hDC
)
?
lpcf
->
hDC
:
GetDC
(
hDlg
);
if
(
hdc
)
{
SendDlgItemMessageA
(
hDlg
,
cmb2
,
CB_RESETCONTENT16
,
0
,
0
);
...
...
@@ -990,7 +990,7 @@ static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam,
SendDlgItemMessageA
(
hDlg
,
cmb3
,
CB_SETCURSEL
,
0
,
0
);
SetCursor
(
hcursor
);
}
if
(
!
(
lpcf
->
Flags
&
CF_PRINTERFONTS
&&
lpcf
->
hDC
))
if
(
!
(
(
lpcf
->
Flags
&
CF_PRINTERFONTS
)
&&
lpcf
->
hDC
))
ReleaseDC
(
hDlg
,
hdc
);
}
else
...
...
dlls/shell32/iconcache.c
View file @
2295e87b
...
...
@@ -405,7 +405,7 @@ HICON WINAPI ExtractIconExA ( LPCSTR lpszFile, INT nIconIndex, HICON * phiconLar
}
/* if no pointers given and one icon expected, return the handle directly*/
if
(
!
phiconLarge
&&
!
phiconSmall
&&
nIcons
==
1
)
if
(
!
phiconLarge
&&
!
phiconSmall
&&
nIcons
==
1
)
phiconSmall
=
&
ret
;
if
(
phiconSmall
)
...
...
dlls/user/dde/client.c
View file @
2295e87b
...
...
@@ -1225,7 +1225,7 @@ BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction
{
for
(
pConv
=
pInstance
->
convs
[
WDML_CLIENT_SIDE
];
pConv
;
pConv
=
pConv
->
next
)
{
if
(
!
pConv
->
wStatus
&
ST_CONNECTED
)
continue
;
if
(
!
(
pConv
->
wStatus
&
ST_CONNECTED
)
)
continue
;
for
(
pXAct
=
pConv
->
transactions
;
pXAct
;
pXAct
=
pXAct
->
next
)
{
if
(
pXAct
->
dwTimeout
==
TIMEOUT_ASYNC
)
...
...
tools/winedump/msmangle.c
View file @
2295e87b
...
...
@@ -453,7 +453,7 @@ static char *demangle_datatype (char **str, compound_type *ct,
fatal
(
"Out of Memory"
);
/* If we're a reference, re-use the pointer already in the type */
if
(
!
ct
->
flags
&
CT_BY_REFERENCE
)
if
(
!
(
ct
->
flags
&
CT_BY_REFERENCE
)
)
stripped
[
strlen
(
stripped
)
-
2
]
=
'\0'
;
/* otherwise, strip it */
ct
->
expression
=
str_create
(
2
,
ct
->
flags
&
CT_CONST
?
"const "
:
...
...
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