Kaydet (Commit) 0f1fc0df authored tarafından Eike Rathke's avatar Eike Rathke

a can't-happen-but-do-it-correct-anyway one character fix

üst c0bbf6f7
......@@ -991,7 +991,7 @@ bool ImpSvNumberInputScan::MayBeIso8601()
(n = sStrArray[nNums[2]].ToInt32()) >= 1 && n <= 31) // day
// Year (nNums[0]) value not checked, may be anything, but
// length (number of digits) is checked.
nMayBeIso8601 = (nLen >= 4 ? 4 : (nLen == 3 ? 3 : (nLen > 0 ? 2 : 0)));
nMayBeIso8601 = (nLen >= 4 ? 4 : (nLen == 3 ? 3 : (nLen > 0 ? 2 : 1)));
}
}
return nMayBeIso8601 > 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment