PIString::arg() now ignore non-suitable %.

PIVector and PIDeque now use std::stable_sort
This commit is contained in:
2024-12-07 12:57:48 +03:00
parent 9e08b6ffc5
commit 79007e7b4e
3 changed files with 13 additions and 13 deletions

View File

@@ -536,7 +536,7 @@ PIString PIString::minArgPlaceholder() {
bool ok = false;
tmp = mid(i + 1, j - i - 1);
int cur = tmp.toInt(10, &ok);
if (!ok) continue;
if (!ok || tmp.isEmpty()) continue;
if (min < 0 || min > cur) {
min = cur;
ret = tmp;