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
925217b8
Commit
925217b8
authored
Jun 30, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemine: Use SetRect() instead of open coding it.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c8d1fbc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
main.c
programs/winemine/main.c
+2
-4
No files found.
programs/winemine/main.c
View file @
925217b8
...
@@ -313,10 +313,8 @@ static void CreateBoard( BOARD *p_board )
...
@@ -313,10 +313,8 @@ static void CreateBoard( BOARD *p_board )
p_board
->
face_bmp
=
SMILE_BMP
;
p_board
->
face_bmp
=
SMILE_BMP
;
p_board
->
time
=
0
;
p_board
->
time
=
0
;
wnd_rect
.
left
=
p_board
->
pos
.
x
;
SetRect
(
&
wnd_rect
,
p_board
->
pos
.
x
,
p_board
->
pos
.
y
,
p_board
->
pos
.
x
+
p_board
->
width
,
wnd_rect
.
right
=
p_board
->
pos
.
x
+
p_board
->
width
;
p_board
->
pos
.
y
+
p_board
->
height
);
wnd_rect
.
top
=
p_board
->
pos
.
y
;
wnd_rect
.
bottom
=
p_board
->
pos
.
y
+
p_board
->
height
;
AdjustWindowRect
(
&
wnd_rect
,
wnd_style
,
TRUE
);
AdjustWindowRect
(
&
wnd_rect
,
wnd_style
,
TRUE
);
/* Make sure the window is completely on the screen */
/* Make sure the window is completely on the screen */
...
...
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