Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
ab73d6e9
Commit
ab73d6e9
authored
22 years ago
by
Stefan Leichter
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Replaced CreateDCA by CreateDCW in LoadImageW.
parent
43c3dc4d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
windows/cursoricon.c
+3
-1
3 additions, 1 deletion
windows/cursoricon.c
with
3 additions
and
1 deletion
windows/cursoricon.c
+
3
−
1
View file @
ab73d6e9
...
...
@@ -72,6 +72,8 @@ static RECT CURSOR_ClipRect; /* Cursor clipping rect */
static
HDC
screen_dc
;
static
const
WCHAR
DISPLAYW
[]
=
{
'D'
,
'I'
,
'S'
,
'P'
,
'L'
,
'A'
,
'Y'
,
0
};
/**********************************************************************
* ICONCACHE for cursors/icons loaded with LR_SHARED.
*
...
...
@@ -2052,7 +2054,7 @@ HANDLE WINAPI LoadImageW( HINSTANCE hinst, LPCWSTR name, UINT type,
return
BITMAP_Load
(
hinst
,
name
,
loadflags
);
case
IMAGE_ICON
:
if
(
!
screen_dc
)
screen_dc
=
CreateDC
A
(
"
DISPLAY
"
,
NULL
,
NULL
,
NULL
);
if
(
!
screen_dc
)
screen_dc
=
CreateDC
W
(
DISPLAY
W
,
NULL
,
NULL
,
NULL
);
if
(
screen_dc
)
{
UINT
palEnts
=
GetSystemPaletteEntries
(
screen_dc
,
0
,
0
,
NULL
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment