mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-05 15:48:02 +02:00
use consistent capitalization
This commit is contained in:
parent
9390b9b367
commit
2f9610b97f
3 changed files with 6 additions and 6 deletions
|
|
@ -47,7 +47,7 @@ extern int _Xmbstowcs(
|
|||
int len
|
||||
);
|
||||
|
||||
extern int _XFree86mbstoUtf8(
|
||||
extern int _XFree86mbstoutf8(
|
||||
char *ustr,
|
||||
const char *str,
|
||||
int len
|
||||
|
|
@ -584,7 +584,7 @@ parseline(
|
|||
}
|
||||
memcpy((char *)rhs_string_wc, (char *)local_wc_buf, (l + 1) * sizeof(wchar_t) );
|
||||
|
||||
l = _XFree86mbstoUtf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
|
||||
l = _XFree86mbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
|
||||
if (l == LOCAL_UTF8_BUFSIZE - 1) {
|
||||
local_wc_buf[l] = '\0';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1366,7 +1366,7 @@ XPointer client_data;
|
|||
_Xlcwcstombs(ic->core.im->core.lcd, ic->private.local.composed->mb,
|
||||
ic->private.local.composed->wc, 10);
|
||||
|
||||
_XFree86lcmbstoUtf8(ic->core.im->core.lcd, ic->private.local.composed->utf8,
|
||||
_XFree86lcmbstoutf8(ic->core.im->core.lcd, ic->private.local.composed->utf8,
|
||||
ic->private.local.composed->mb, 10);
|
||||
|
||||
/* Remember the last character inputted
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ _Xwcsncmp(
|
|||
|
||||
|
||||
int
|
||||
_XFree86lcmbstoUtf8(
|
||||
_XFree86lcmbstoutf8(
|
||||
XLCd lcd,
|
||||
char *ustr,
|
||||
const char *str,
|
||||
|
|
@ -358,10 +358,10 @@ _XFree86lcmbstoUtf8(
|
|||
}
|
||||
|
||||
int
|
||||
_XFree86mbstoUtf8(
|
||||
_XFree86mbstoutf8(
|
||||
char *ustr,
|
||||
const char *str,
|
||||
int len)
|
||||
{
|
||||
return _XFree86lcmbstoUtf8((XLCd) NULL, ustr, str, len);
|
||||
return _XFree86lcmbstoutf8((XLCd) NULL, ustr, str, len);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue