mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 23:34:44 +02:00
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:
parent
4ad57c1dd1
commit
0baac8af59
@ -175,9 +175,6 @@ int getNbDigits(int aNum, int base)
|
|||||||
aNum /= base;
|
aNum /= base;
|
||||||
} while (aNum != 0);
|
} while (aNum != 0);
|
||||||
|
|
||||||
if (base == 16 && nbDigits % 2 != 0)
|
|
||||||
++nbDigits;
|
|
||||||
|
|
||||||
return nbDigits;
|
return nbDigits;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user