mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
indent in ucstrnicmp() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
f3fba4727f
commit
bd808774d7
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@ static inline int ucstrcmp(const QChar *a, int alen, const QChar *b, int blen)
|
||||||
// Unicode case-insensitive compare two same-sized strings
|
// Unicode case-insensitive compare two same-sized strings
|
||||||
static inline int ucstrnicmp(const ushort *a, const ushort *b, int l)
|
static inline int ucstrnicmp(const ushort *a, const ushort *b, int l)
|
||||||
{
|
{
|
||||||
return u_strncasecmp(reinterpret_cast<const UChar*>(a), reinterpret_cast<const UChar*>(b), l, U_FOLD_CASE_DEFAULT);
|
return u_strncasecmp(reinterpret_cast<const UChar*>(a),
|
||||||
|
reinterpret_cast<const UChar*>(b), l, U_FOLD_CASE_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool qMemEquals(const QChar *a, const QChar *b, int length)
|
static inline bool qMemEquals(const QChar *a, const QChar *b, int length)
|
||||||
|
|
Loading…
Add table
Reference in a new issue