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
f01d9879
Commit
f01d9879
authored
May 24, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte.
parent
a92db320
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
locale.c
dlls/kernel/locale.c
+2
-2
rtlstr.c
dlls/ntdll/rtlstr.c
+1
-1
unicode.h
include/wine/unicode.h
+1
-1
string.c
libs/unicode/string.c
+1
-1
wine_unicode.def
libs/unicode/wine_unicode.def
+1
-1
wine_unicode.map
libs/unicode/wine_unicode.map
+1
-1
No files found.
dlls/kernel/locale.c
View file @
f01d9879
...
...
@@ -1279,7 +1279,7 @@ BOOL WINAPI IsValidCodePage( UINT codepage )
BOOL
WINAPI
IsDBCSLeadByteEx
(
UINT
codepage
,
BYTE
testchar
)
{
const
union
cptable
*
table
=
get_codepage_table
(
codepage
);
return
table
&&
is_dbcs_leadbyte
(
table
,
testchar
);
return
table
&&
wine_
is_dbcs_leadbyte
(
table
,
testchar
);
}
...
...
@@ -1299,7 +1299,7 @@ BOOL WINAPI IsDBCSLeadByteEx( UINT codepage, BYTE testchar )
BOOL
WINAPI
IsDBCSLeadByte
(
BYTE
testchar
)
{
if
(
!
ansi_cptable
)
return
FALSE
;
return
is_dbcs_leadbyte
(
ansi_cptable
,
testchar
);
return
wine_
is_dbcs_leadbyte
(
ansi_cptable
,
testchar
);
}
...
...
dlls/ntdll/rtlstr.c
View file @
f01d9879
...
...
@@ -638,7 +638,7 @@ WCHAR WINAPI RtlAnsiCharToUnicodeChar(LPSTR *ansi)
WCHAR
str
;
DWORD
charSize
=
sizeof
(
CHAR
);
if
(
is_dbcs_leadbyte
(
ansi_table
,
**
ansi
))
if
(
wine_
is_dbcs_leadbyte
(
ansi_table
,
**
ansi
))
charSize
++
;
RtlMultiByteToUnicodeN
(
&
str
,
sizeof
(
WCHAR
),
NULL
,
*
ansi
,
charSize
);
...
...
include/wine/unicode.h
View file @
f01d9879
...
...
@@ -95,7 +95,7 @@ extern int snprintfW( WCHAR *str, size_t len, const WCHAR *format, ... );
extern
int
vsprintfW
(
WCHAR
*
str
,
const
WCHAR
*
format
,
va_list
valist
);
extern
int
vsnprintfW
(
WCHAR
*
str
,
size_t
len
,
const
WCHAR
*
format
,
va_list
valist
);
extern
inline
int
is_dbcs_leadbyte
(
const
union
cptable
*
table
,
unsigned
char
ch
)
extern
inline
int
wine_
is_dbcs_leadbyte
(
const
union
cptable
*
table
,
unsigned
char
ch
)
{
return
(
table
->
info
.
char_size
==
2
)
&&
(
table
->
dbcs
.
cp2uni_leadbytes
[
ch
]);
}
...
...
libs/unicode/string.c
View file @
f01d9879
...
...
@@ -27,7 +27,7 @@ extern const WCHAR wine_casemap_lower[];
extern
const
WCHAR
wine_casemap_upper
[];
extern
const
unsigned
short
wine_wctype_table
[];
int
is_dbcs_leadbyte
(
const
union
cptable
*
table
,
unsigned
char
ch
)
int
wine_
is_dbcs_leadbyte
(
const
union
cptable
*
table
,
unsigned
char
ch
)
{
return
(
table
->
info
.
char_size
==
2
)
&&
(
table
->
dbcs
.
cp2uni_leadbytes
[
ch
]);
}
...
...
libs/unicode/wine_unicode.def
View file @
f01d9879
...
...
@@ -4,7 +4,6 @@ EXPORTS
atoiW
atolW
get_char_typeW
is_dbcs_leadbyte
isalnumW
isalphaW
iscntrlW
...
...
@@ -53,6 +52,7 @@ EXPORTS
wine_cpsymbol_wcstombs
wine_fold_string
wine_get_sortkey
wine_is_dbcs_leadbyte
wine_utf8_mbstowcs
wine_utf8_wcstombs
wine_wctype_table
libs/unicode/wine_unicode.map
View file @
f01d9879
...
...
@@ -4,7 +4,6 @@ WINE_1.0
atoiW;
atolW;
get_char_typeW;
is_dbcs_leadbyte;
isalnumW;
isalphaW;
iscntrlW;
...
...
@@ -53,6 +52,7 @@ WINE_1.0
wine_cpsymbol_wcstombs;
wine_fold_string;
wine_get_sortkey;
wine_is_dbcs_leadbyte;
wine_utf8_mbstowcs;
wine_utf8_wcstombs;
wine_wctype_table;
...
...
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