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
bf313ee8
Commit
bf313ee8
authored
Nov 01, 2007
by
Lei Zhang
Committed by
Alexandre Julliard
Nov 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix uninitialized, unused variables.
parent
5d05f7fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
status.c
dlls/comctl32/status.c
+12
-12
No files found.
dlls/comctl32/status.c
View file @
bf313ee8
...
...
@@ -633,7 +633,6 @@ STATUSBAR_SetMinHeight (STATUS_INFO *infoPtr, INT height)
RECT
parent_rect
;
HTHEME
theme
;
GetClientRect
(
infoPtr
->
Notify
,
&
parent_rect
);
infoPtr
->
height
=
height
+
infoPtr
->
verticalBorder
;
if
((
theme
=
GetWindowTheme
(
infoPtr
->
Self
)))
...
...
@@ -651,13 +650,14 @@ STATUSBAR_SetMinHeight (STATUS_INFO *infoPtr, INT height)
ReleaseDC
(
infoPtr
->
Self
,
hdc
);
}
width
=
parent_rect
.
right
-
parent_rect
.
left
;
x
=
parent_rect
.
left
;
y
=
parent_rect
.
bottom
-
infoPtr
->
height
;
MoveWindow
(
infoPtr
->
Self
,
parent_rect
.
left
,
parent_rect
.
bottom
-
infoPtr
->
height
,
width
,
infoPtr
->
height
,
TRUE
);
STATUSBAR_SetPartBounds
(
infoPtr
);
if
(
GetClientRect
(
infoPtr
->
Notify
,
&
parent_rect
))
{
width
=
parent_rect
.
right
-
parent_rect
.
left
;
x
=
parent_rect
.
left
;
y
=
parent_rect
.
bottom
-
infoPtr
->
height
;
MoveWindow
(
infoPtr
->
Self
,
x
,
y
,
width
,
infoPtr
->
height
,
TRUE
);
STATUSBAR_SetPartBounds
(
infoPtr
);
}
}
return
TRUE
;
...
...
@@ -1191,13 +1191,13 @@ STATUSBAR_WMSize (STATUS_INFO *infoPtr, WORD flags)
if
(
GetWindowLongW
(
infoPtr
->
Self
,
GWL_STYLE
)
&
CCS_NORESIZE
)
return
FALSE
;
/* width and height don't apply */
GetClientRect
(
infoPtr
->
Notify
,
&
parent_rect
);
if
(
!
GetClientRect
(
infoPtr
->
Notify
,
&
parent_rect
))
return
FALSE
;
width
=
parent_rect
.
right
-
parent_rect
.
left
;
x
=
parent_rect
.
left
;
y
=
parent_rect
.
bottom
-
infoPtr
->
height
;
MoveWindow
(
infoPtr
->
Self
,
parent_rect
.
left
,
parent_rect
.
bottom
-
infoPtr
->
height
,
width
,
infoPtr
->
height
,
TRUE
);
MoveWindow
(
infoPtr
->
Self
,
x
,
y
,
width
,
infoPtr
->
height
,
TRUE
);
STATUSBAR_SetPartBounds
(
infoPtr
);
return
TRUE
;
}
...
...
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