Browse Source

Minor code formatting

adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
626a224382
  1. 2
      src/base/utils/string.cpp

2
src/base/utils/string.cpp

@ -80,7 +80,7 @@ bool Utils::String::NaturalCompare::lessThan(const QString &left, const QString @@ -80,7 +80,7 @@ bool Utils::String::NaturalCompare::lessThan(const QString &left, const QString
int posR = 0;
while (true) {
while (true) {
if (posL == left.size() || posR == right.size())
if ((posL == left.size()) || (posR == right.size()))
return (left.size() < right.size()); // when a shorter string is another string's prefix, shorter string place before longer string
QChar leftChar = left[posL].toLower();

Loading…
Cancel
Save