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
f7c98b03
Commit
f7c98b03
authored
Sep 08, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Avoid converting the final null in strlwrW and struprW.
parent
94a9db63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
unicode.h
include/wine/unicode.h
+4
-4
No files found.
include/wine/unicode.h
View file @
f7c98b03
...
...
@@ -265,15 +265,15 @@ WINE_UNICODE_INLINE size_t strcspnW( const WCHAR *str, const WCHAR *reject )
WINE_UNICODE_INLINE
WCHAR
*
strlwrW
(
WCHAR
*
str
)
{
WCHAR
*
ret
=
str
;
while
((
*
str
=
tolowerW
(
*
str
)))
str
++
;
WCHAR
*
ret
;
for
(
ret
=
str
;
*
str
;
str
++
)
*
str
=
tolowerW
(
*
str
)
;
return
ret
;
}
WINE_UNICODE_INLINE
WCHAR
*
struprW
(
WCHAR
*
str
)
{
WCHAR
*
ret
=
str
;
while
((
*
str
=
toupperW
(
*
str
)))
str
++
;
WCHAR
*
ret
;
for
(
ret
=
str
;
*
str
;
str
++
)
*
str
=
toupperW
(
*
str
)
;
return
ret
;
}
...
...
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