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
85ebbadc
Commit
85ebbadc
authored
Dec 15, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Indentation fix.
parent
c8092a04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
datetime.c
dlls/comctl32/datetime.c
+10
-10
toolbar.c
dlls/comctl32/toolbar.c
+3
-3
treeview.c
dlls/comctl32/treeview.c
+4
-4
No files found.
dlls/comctl32/datetime.c
View file @
85ebbadc
...
...
@@ -205,16 +205,16 @@ DATETIME_SetSystemTime (DATETIME_INFO *infoPtr, DWORD flag, const SYSTEMTIME *sy
systime
->
wHour
,
systime
->
wMinute
,
systime
->
wSecond
);
if
(
flag
==
GDT_VALID
)
{
if
(
systime
->
wYear
==
0
||
systime
->
wMonth
<
1
||
systime
->
wMonth
>
12
||
systime
->
wDay
<
1
||
systime
->
wDay
>
MONTHCAL_MonthLength
(
systime
->
wMonth
,
systime
->
wYear
)
||
systime
->
wHour
>
23
||
systime
->
wMinute
>
59
||
systime
->
wSecond
>
59
||
systime
->
wMilliseconds
>
999
)
return
FALSE
;
if
(
systime
->
wYear
==
0
||
systime
->
wMonth
<
1
||
systime
->
wMonth
>
12
||
systime
->
wDay
<
1
||
systime
->
wDay
>
MONTHCAL_MonthLength
(
systime
->
wMonth
,
systime
->
wYear
)
||
systime
->
wHour
>
23
||
systime
->
wMinute
>
59
||
systime
->
wSecond
>
59
||
systime
->
wMilliseconds
>
999
)
return
FALSE
;
/* Windows returns true if the date is valid but outside the limits set */
if
(
DATETIME_IsDateInValidRange
(
infoPtr
,
systime
)
==
FALSE
)
...
...
dlls/comctl32/toolbar.c
View file @
85ebbadc
...
...
@@ -5212,9 +5212,9 @@ TOOLBAR_Destroy (TOOLBAR_INFO *infoPtr)
if
(
infoPtr
->
himlInt
)
ImageList_Destroy
(
infoPtr
->
himlInt
);
TOOLBAR_DeleteImageList
(
&
infoPtr
->
himlDef
,
&
infoPtr
->
cimlDef
);
TOOLBAR_DeleteImageList
(
&
infoPtr
->
himlDis
,
&
infoPtr
->
cimlDis
);
TOOLBAR_DeleteImageList
(
&
infoPtr
->
himlHot
,
&
infoPtr
->
cimlHot
);
TOOLBAR_DeleteImageList
(
&
infoPtr
->
himlDef
,
&
infoPtr
->
cimlDef
);
TOOLBAR_DeleteImageList
(
&
infoPtr
->
himlDis
,
&
infoPtr
->
cimlDis
);
TOOLBAR_DeleteImageList
(
&
infoPtr
->
himlHot
,
&
infoPtr
->
cimlHot
);
/* delete default font */
DeleteObject
(
infoPtr
->
hDefaultFont
);
...
...
dlls/comctl32/treeview.c
View file @
85ebbadc
...
...
@@ -3164,10 +3164,10 @@ TREEVIEW_Sort(TREEVIEW_INFO *infoPtr, HTREEITEM parent,
{
int
visOrder
=
infoPtr
->
firstVisible
->
visibleOrder
;
if
(
parent
==
infoPtr
->
root
)
TREEVIEW_RecalculateVisibleOrder
(
infoPtr
,
NULL
);
else
TREEVIEW_RecalculateVisibleOrder
(
infoPtr
,
parent
);
if
(
parent
==
infoPtr
->
root
)
TREEVIEW_RecalculateVisibleOrder
(
infoPtr
,
NULL
);
else
TREEVIEW_RecalculateVisibleOrder
(
infoPtr
,
parent
);
if
(
TREEVIEW_IsChildOf
(
parent
,
infoPtr
->
firstVisible
))
{
...
...
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