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
6dbe2b53
Commit
6dbe2b53
authored
May 04, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/header: Use wide string literals.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c358de84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
header.c
dlls/comctl32/header.c
+2
-4
No files found.
dlls/comctl32/header.c
View file @
6dbe2b53
...
...
@@ -111,7 +111,7 @@ static void HEADER_FreeCallbackItems(HEADER_ITEM *lpItem);
static
LRESULT
HEADER_SendNotify
(
const
HEADER_INFO
*
infoPtr
,
UINT
code
,
NMHDR
*
hdr
);
static
LRESULT
HEADER_SendCtrlCustomDraw
(
const
HEADER_INFO
*
infoPtr
,
DWORD
dwDrawStage
,
HDC
hdc
,
const
RECT
*
rect
);
static
const
WCHAR
themeClass
[]
=
{
'H'
,
'e'
,
'a'
,
'd'
,
'e'
,
'r'
,
0
}
;
static
const
WCHAR
themeClass
[]
=
L"Header"
;
static
void
HEADER_StoreHDItemInHeader
(
HEADER_ITEM
*
lpItem
,
UINT
mask
,
const
HDITEMW
*
phdi
,
BOOL
fUnicode
)
{
...
...
@@ -146,9 +146,7 @@ static void HEADER_StoreHDItemInHeader(HEADER_ITEM *lpItem, UINT mask, const HDI
if
(
phdi
->
pszText
!=
LPSTR_TEXTCALLBACKW
)
/* covers != TEXTCALLBACKA too */
{
static
const
WCHAR
emptyString
[]
=
{
0
};
LPCWSTR
pszText
=
(
phdi
->
pszText
!=
NULL
?
phdi
->
pszText
:
emptyString
);
const
WCHAR
*
pszText
=
phdi
->
pszText
!=
NULL
?
phdi
->
pszText
:
L""
;
if
(
fUnicode
)
Str_SetPtrW
(
&
lpItem
->
pszText
,
pszText
);
else
...
...
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