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
44016841
Commit
44016841
authored
Feb 25, 2000
by
Juergen Schmied
Committed by
Alexandre Julliard
Feb 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed allocation of 16x16 icons.
parent
52bd50fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
cursoricon.c
objects/cursoricon.c
+6
-3
No files found.
objects/cursoricon.c
View file @
44016841
...
@@ -868,7 +868,7 @@ HGLOBAL CURSORICON_ExtCopy(HGLOBAL Handle, UINT nType,
...
@@ -868,7 +868,7 @@ HGLOBAL CURSORICON_ExtCopy(HGLOBAL Handle, UINT nType,
}
}
else
else
{
{
int
iTargetC
X
,
iTargetCY
;
int
iTargetC
Y
=
iDesiredCY
,
iTargetCX
=
iDesiredCX
;
LPBYTE
pBits
;
LPBYTE
pBits
;
HANDLE
hMem
;
HANDLE
hMem
;
HRSRC
hRsrc
;
HRSRC
hRsrc
;
...
@@ -936,8 +936,11 @@ HGLOBAL CURSORICON_ExtCopy(HGLOBAL Handle, UINT nType,
...
@@ -936,8 +936,11 @@ HGLOBAL CURSORICON_ExtCopy(HGLOBAL Handle, UINT nType,
pBits
=
(
LPBYTE
)
LockResource
(
hMem
);
pBits
=
(
LPBYTE
)
LockResource
(
hMem
);
iTargetCY
=
GetSystemMetrics
(
SM_CYICON
);
if
(
nFlags
&
LR_DEFAULTSIZE
)
iTargetCX
=
GetSystemMetrics
(
SM_CXICON
);
{
iTargetCY
=
GetSystemMetrics
(
SM_CYICON
);
iTargetCX
=
GetSystemMetrics
(
SM_CXICON
);
}
/* Create a New Icon with the proper dimension
/* Create a New Icon with the proper dimension
*/
*/
...
...
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