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
64c86ffe
Commit
64c86ffe
authored
Aug 07, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed local variable shadows warnings.
parent
081ee941
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
cursoricon.c
windows/cursoricon.c
+3
-3
input.c
windows/input.c
+3
-3
msgbox.c
windows/msgbox.c
+0
-1
winpos.c
windows/winpos.c
+3
-3
No files found.
windows/cursoricon.c
View file @
64c86ffe
...
...
@@ -523,7 +523,7 @@ static HGLOBAL16 CURSORICON_CreateFromResource( HINSTANCE16 hInstance, HGLOBAL16
CBM_INIT
,
(
char
*
)
bmi
+
size
,
pInfo
,
DIB_RGB_COLORS
);
if
(
hXorBits
)
{
char
*
bits
=
(
char
*
)
bmi
+
size
+
char
*
x
bits
=
(
char
*
)
bmi
+
size
+
DIB_GetDIBImageBytes
(
bmi
->
bmiHeader
.
biWidth
,
bmi
->
bmiHeader
.
biHeight
,
bmi
->
bmiHeader
.
biBitCount
)
/
2
;
...
...
@@ -558,14 +558,14 @@ static HGLOBAL16 CURSORICON_CreateFromResource( HINSTANCE16 hInstance, HGLOBAL16
hOld
=
SelectObject
(
hMem
,
hAndBits
);
res
=
StretchDIBits
(
hMem
,
0
,
0
,
width
,
height
,
0
,
0
,
pInfo
->
bmiHeader
.
biWidth
,
pInfo
->
bmiHeader
.
biHeight
,
bits
,
pInfo
,
DIB_RGB_COLORS
,
SRCCOPY
);
x
bits
,
pInfo
,
DIB_RGB_COLORS
,
SRCCOPY
);
SelectObject
(
hMem
,
hOld
);
DeleteDC
(
hMem
);
}
else
res
=
FALSE
;
if
(
!
res
)
{
DeleteObject
(
hAndBits
);
hAndBits
=
0
;
}
}
}
else
hAndBits
=
CreateDIBitmap
(
hdc
,
&
pInfo
->
bmiHeader
,
CBM_INIT
,
bits
,
pInfo
,
DIB_RGB_COLORS
);
CBM_INIT
,
x
bits
,
pInfo
,
DIB_RGB_COLORS
);
if
(
!
hAndBits
)
DeleteObject
(
hXorBits
);
}
...
...
windows/input.c
View file @
64c86ffe
...
...
@@ -398,10 +398,10 @@ HWND EVENT_Capture(HWND hwnd, INT16 ht)
if
(
capturePrev
)
{
WND
*
wndPtr
=
WIN_FindWndPtr
(
capturePrev
);
if
(
wndPtr
&&
(
wndPtr
->
flags
&
WIN_ISWIN32
)
)
WND
*
x
wndPtr
=
WIN_FindWndPtr
(
capturePrev
);
if
(
xwndPtr
&&
(
x
wndPtr
->
flags
&
WIN_ISWIN32
)
)
SendMessageA
(
capturePrev
,
WM_CAPTURECHANGED
,
0L
,
hwnd
);
WIN_ReleaseWndPtr
(
wndPtr
);
WIN_ReleaseWndPtr
(
x
wndPtr
);
}
}
...
...
windows/msgbox.c
View file @
64c86ffe
...
...
@@ -35,7 +35,6 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSA lpmb)
if
(
TWEAK_WineLook
>=
WIN95_LOOK
)
{
NONCLIENTMETRICSA
nclm
;
INT
i
;
nclm
.
cbSize
=
sizeof
(
NONCLIENTMETRICSA
);
SystemParametersInfoA
(
SPI_GETNONCLIENTMETRICS
,
0
,
&
nclm
,
0
);
hFont
=
CreateFontIndirectA
(
&
nclm
.
lfMessageFont
);
...
...
windows/winpos.c
View file @
64c86ffe
...
...
@@ -2662,12 +2662,12 @@ Pos: /* -----------------------------------------------------------------------
!=
(
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_NOZORDER
))
)
{
/* get a previous visible region for SWP_CopyValidBits() */
DWORD
flags
=
DCX_WINDOW
;
DWORD
d
flags
=
DCX_WINDOW
;
if
(
wndPtr
->
dwStyle
&
WS_CLIPSIBLINGS
)
flags
|=
DCX_CLIPSIBLINGS
;
d
flags
|=
DCX_CLIPSIBLINGS
;
visRgn
=
DCE_GetVisRgn
(
hwnd
,
flags
,
0
,
0
);
visRgn
=
DCE_GetVisRgn
(
hwnd
,
d
flags
,
0
,
0
);
}
}
...
...
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