OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fba47
)
indent in ucstrnicmp() function
author
Ivailo Monev
<xakepa10@laimg.moc>
Sun, 8 Dec 2019 15:10:43 +0000
(15:10 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Sun, 8 Dec 2019 15:10:43 +0000
(15:10 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/tools/qstring.cpp
patch
|
blob
|
history
diff --git
a/src/core/tools/qstring.cpp
b/src/core/tools/qstring.cpp
index
09565ba
..
21b6d8b
100644
(file)
--- a/
src/core/tools/qstring.cpp
+++ b/
src/core/tools/qstring.cpp
@@
-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
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)