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
8defd5fc
Commit
8defd5fc
authored
Dec 16, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Avoid hardcoding the Unicode string literal lengths.
parent
c0b31dcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
uitools.c
dlls/user32/uitools.c
+1
-1
No files found.
dlls/user32/uitools.c
View file @
8defd5fc
...
...
@@ -932,7 +932,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
int
colorIdx
=
uFlags
&
DFCS_INACTIVE
?
COLOR_BTNSHADOW
:
COLOR_BTNTEXT
;
int
xc
=
(
myr
.
left
+
myr
.
right
)
/
2
;
int
yc
=
(
myr
.
top
+
myr
.
bottom
)
/
2
;
WCHAR
str
[
2
]
=
{
0
,
0
};
WCHAR
str
[]
=
{
0
,
0
};
static
const
WCHAR
glyphFontName
[]
=
{
'M'
,
'a'
,
'r'
,
'l'
,
'e'
,
't'
,
't'
,
0
};
UINT
alignsave
;
int
bksave
;
...
...
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