mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Compatibility
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@547 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+2
-1
@@ -279,7 +279,8 @@ bool smart_less(const String& sa, const String& sb) {
|
||||
bool lt = false; // is sa less than sb?
|
||||
bool eq = true; // so far is everything equal?
|
||||
size_t na = sa.size(), nb = sb.size();
|
||||
for (size_t pa = 0, pb = 0 ; pa < na && pb < nb ; ++pa, ++pb) {
|
||||
size_t pa = 0, pb = 0;
|
||||
for (; pa < na && pb < nb ; ++pa, ++pb) {
|
||||
Char a = sa.GetChar(pa), b = sb.GetChar(pb);
|
||||
next:
|
||||
bool da = isDigit(a), db = isDigit(b);
|
||||
|
||||
Reference in New Issue
Block a user