Fix extra space inserted issue with HEX mode in Column Editor

Fix extra space inserted when inserting hexadecimal numbers with Column Editor:
Remove rounding of odd number of digits.

Fix #15168, close #15176
This commit is contained in:
cddiffz 2024-05-22 10:42:19 +02:00 committed by Don Ho
parent 4ad57c1dd1
commit 0baac8af59

View File

@ -175,9 +175,6 @@ int getNbDigits(int aNum, int base)
aNum /= base;
} while (aNum != 0);
if (base == 16 && nbDigits % 2 != 0)
++nbDigits;
return nbDigits;
}