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
d817bbd6
Commit
d817bbd6
authored
Jun 20, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use the CSTR_XXX macros instead of numeric literals.
parent
ac323a20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
string.c
dlls/msvcrt/string.c
+4
-4
No files found.
dlls/msvcrt/string.c
View file @
d817bbd6
...
...
@@ -543,7 +543,7 @@ int CDECL MSVCRT_strcoll_l( const char* str1, const char* str2, MSVCRT__locale_t
else
locinfo
=
locale
->
locinfo
;
return
CompareStringA
(
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
0
,
str1
,
-
1
,
str2
,
-
1
)
-
2
;
return
CompareStringA
(
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
0
,
str1
,
-
1
,
str2
,
-
1
)
-
CSTR_EQUAL
;
}
/*********************************************************************
...
...
@@ -567,7 +567,7 @@ int CDECL MSVCRT__stricoll_l( const char* str1, const char* str2, MSVCRT__locale
locinfo
=
locale
->
locinfo
;
return
CompareStringA
(
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
NORM_IGNORECASE
,
str1
,
-
1
,
str2
,
-
1
)
-
2
;
str1
,
-
1
,
str2
,
-
1
)
-
CSTR_EQUAL
;
}
/*********************************************************************
...
...
@@ -590,7 +590,7 @@ int CDECL MSVCRT_strncoll_l( const char* str1, const char* str2, MSVCRT_size_t c
else
locinfo
=
locale
->
locinfo
;
return
CompareStringA
(
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
0
,
str1
,
count
,
str2
,
count
)
-
2
;
return
CompareStringA
(
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
0
,
str1
,
count
,
str2
,
count
)
-
CSTR_EQUAL
;
}
/*********************************************************************
...
...
@@ -614,7 +614,7 @@ int CDECL MSVCRT__strnicoll_l( const char* str1, const char* str2, MSVCRT_size_t
locinfo
=
locale
->
locinfo
;
return
CompareStringA
(
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
NORM_IGNORECASE
,
str1
,
count
,
str2
,
count
)
-
2
;
str1
,
count
,
str2
,
count
)
-
CSTR_EQUAL
;
}
/*********************************************************************
...
...
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