Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1776ded8
Commit
1776ded8
authored
Jan 29, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Feb 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Use boolean return values in boolean functions.
parent
929d9fb9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
datetime.c
dlls/comctl32/datetime.c
+1
-1
updown.c
dlls/comctl32/updown.c
+1
-1
No files found.
dlls/comctl32/datetime.c
View file @
1776ded8
...
...
@@ -198,7 +198,7 @@ static BOOL DATETIME_IsDateInValidRange(const DATETIME_INFO *infoPtr, const SYST
static
BOOL
DATETIME_SetSystemTime
(
DATETIME_INFO
*
infoPtr
,
DWORD
flag
,
const
SYSTEMTIME
*
systime
)
{
if
(
!
systime
)
return
0
;
if
(
!
systime
)
return
FALSE
;
TRACE
(
"%04d/%02d/%02d %02d:%02d:%02d
\n
"
,
systime
->
wYear
,
systime
->
wMonth
,
systime
->
wDay
,
...
...
dlls/comctl32/updown.c
View file @
1776ded8
...
...
@@ -354,7 +354,7 @@ static BOOL UPDOWN_SetBuddyInt (const UPDOWN_INFO *infoPtr)
/* if nothing changed exit earlier */
GetWindowTextW
(
infoPtr
->
Buddy
,
txt_old
,
sizeof
(
txt_old
)
/
sizeof
(
WCHAR
));
if
(
lstrcmpiW
(
txt_old
,
txt
)
==
0
)
return
0
;
if
(
lstrcmpiW
(
txt_old
,
txt
)
==
0
)
return
FALSE
;
return
SetWindowTextW
(
infoPtr
->
Buddy
,
txt
);
}
...
...
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