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
4a0c440d
Commit
4a0c440d
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/rebar: Use wide string literals.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
202c7176
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
rebar.c
dlls/comctl32/rebar.c
+2
-4
No files found.
dlls/comctl32/rebar.c
View file @
4a0c440d
...
@@ -302,8 +302,7 @@ static const char * const band_maskname[] = {
...
@@ -302,8 +302,7 @@ static const char * const band_maskname[] = {
"RBBIM_CHEVRONSTATE"
,
/* 0x00002000 */
"RBBIM_CHEVRONSTATE"
,
/* 0x00002000 */
NULL
};
NULL
};
static
const
WCHAR
themeClass
[]
=
L"Rebar"
;
static
const
WCHAR
themeClass
[]
=
{
'R'
,
'e'
,
'b'
,
'a'
,
'r'
,
0
};
static
CHAR
*
static
CHAR
*
REBAR_FmtStyle
(
char
*
buffer
,
UINT
style
)
REBAR_FmtStyle
(
char
*
buffer
,
UINT
style
)
...
@@ -1010,7 +1009,6 @@ REBAR_ForceResize (REBAR_INFO *infoPtr)
...
@@ -1010,7 +1009,6 @@ REBAR_ForceResize (REBAR_INFO *infoPtr)
static
VOID
static
VOID
REBAR_MoveChildWindows
(
const
REBAR_INFO
*
infoPtr
,
UINT
start
,
UINT
endplus
)
REBAR_MoveChildWindows
(
const
REBAR_INFO
*
infoPtr
,
UINT
start
,
UINT
endplus
)
{
{
static
const
WCHAR
strComboBox
[]
=
{
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'B'
,
'o'
,
'x'
,
0
};
REBAR_BAND
*
lpBand
;
REBAR_BAND
*
lpBand
;
WCHAR
szClassName
[
40
];
WCHAR
szClassName
[
40
];
UINT
i
;
UINT
i
;
...
@@ -1047,7 +1045,7 @@ REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus)
...
@@ -1047,7 +1045,7 @@ REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus)
}
}
GetClassNameW
(
lpBand
->
hwndChild
,
szClassName
,
ARRAY_SIZE
(
szClassName
));
GetClassNameW
(
lpBand
->
hwndChild
,
szClassName
,
ARRAY_SIZE
(
szClassName
));
if
(
!
lstrcmpW
(
szClassName
,
strComboBox
)
||
if
(
!
lstrcmpW
(
szClassName
,
WC_COMBOBOXW
)
||
!
lstrcmpW
(
szClassName
,
WC_COMBOBOXEXW
))
{
!
lstrcmpW
(
szClassName
,
WC_COMBOBOXEXW
))
{
INT
nEditHeight
,
yPos
;
INT
nEditHeight
,
yPos
;
RECT
rc
;
RECT
rc
;
...
...
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