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
2bd02f9a
Commit
2bd02f9a
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/tab: Use wide string literals.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
30db9fa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
tab.c
dlls/comctl32/tab.c
+2
-3
No files found.
dlls/comctl32/tab.c
View file @
2bd02f9a
...
@@ -152,7 +152,7 @@ typedef struct
...
@@ -152,7 +152,7 @@ typedef struct
#define TAB_HOTTRACK_TIMER 1
#define TAB_HOTTRACK_TIMER 1
#define TAB_HOTTRACK_TIMER_INTERVAL 100
/* milliseconds */
#define TAB_HOTTRACK_TIMER_INTERVAL 100
/* milliseconds */
static
const
WCHAR
themeClass
[]
=
{
'T'
,
'a'
,
'b'
,
0
}
;
static
const
WCHAR
themeClass
[]
=
L"Tab"
;
static
inline
TAB_ITEM
*
TAB_GetItem
(
const
TAB_INFO
*
infoPtr
,
INT
i
)
static
inline
TAB_ITEM
*
TAB_GetItem
(
const
TAB_INFO
*
infoPtr
,
INT
i
)
{
{
...
@@ -1013,7 +1013,6 @@ static void TAB_SetupScrolling(
...
@@ -1013,7 +1013,6 @@ static void TAB_SetupScrolling(
TAB_INFO
*
infoPtr
,
TAB_INFO
*
infoPtr
,
const
RECT
*
clientRect
)
const
RECT
*
clientRect
)
{
{
static
const
WCHAR
emptyW
[]
=
{
0
};
INT
maxRange
=
0
;
INT
maxRange
=
0
;
if
(
infoPtr
->
needsScrolling
)
if
(
infoPtr
->
needsScrolling
)
...
@@ -1044,7 +1043,7 @@ static void TAB_SetupScrolling(
...
@@ -1044,7 +1043,7 @@ static void TAB_SetupScrolling(
*/
*/
if
(
infoPtr
->
hwndUpDown
==
0
)
if
(
infoPtr
->
hwndUpDown
==
0
)
{
{
infoPtr
->
hwndUpDown
=
CreateWindowW
(
UPDOWN_CLASSW
,
emptyW
,
infoPtr
->
hwndUpDown
=
CreateWindowW
(
UPDOWN_CLASSW
,
L""
,
WS_VISIBLE
|
WS_CHILD
|
UDS_HORZ
,
WS_VISIBLE
|
WS_CHILD
|
UDS_HORZ
,
controlPos
.
left
,
controlPos
.
top
,
controlPos
.
left
,
controlPos
.
top
,
controlPos
.
right
-
controlPos
.
left
,
controlPos
.
right
-
controlPos
.
left
,
...
...
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