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
202c7176
Commit
202c7176
authored
May 01, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/animate: Use wide string literals.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e9e8b77d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
animate.c
dlls/comctl32/animate.c
+2
-4
No files found.
dlls/comctl32/animate.c
View file @
202c7176
...
...
@@ -94,12 +94,11 @@ static void ANIMATE_Notify(const ANIMATE_INFO *infoPtr, UINT notif)
static
BOOL
ANIMATE_LoadResW
(
ANIMATE_INFO
*
infoPtr
,
HINSTANCE
hInst
,
LPCWSTR
lpName
)
{
static
const
WCHAR
aviW
[]
=
{
'A'
,
'V'
,
'I'
,
0
};
HRSRC
hrsrc
;
MMIOINFO
mminfo
;
LPVOID
lpAvi
;
hrsrc
=
FindResourceW
(
hInst
,
lpName
,
aviW
);
hrsrc
=
FindResourceW
(
hInst
,
lpName
,
L"AVI"
);
if
(
!
hrsrc
)
return
FALSE
;
...
...
@@ -794,12 +793,11 @@ static BOOL ANIMATE_Stop(ANIMATE_INFO *infoPtr)
static
BOOL
ANIMATE_Create
(
HWND
hWnd
,
const
CREATESTRUCTW
*
lpcs
)
{
static
const
WCHAR
msvfw32W
[]
=
{
'm'
,
's'
,
'v'
,
'f'
,
'w'
,
'3'
,
'2'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
ANIMATE_INFO
*
infoPtr
;
if
(
!
fnIC
.
hModule
)
{
fnIC
.
hModule
=
LoadLibraryW
(
msvfw32W
);
fnIC
.
hModule
=
LoadLibraryW
(
L"msvfw32.dll"
);
if
(
!
fnIC
.
hModule
)
return
FALSE
;
fnIC
.
fnICOpen
=
(
void
*
)
GetProcAddress
(
fnIC
.
hModule
,
"ICOpen"
);
...
...
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