Dots is not needed for base 10 negative numbers; fix #3400

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-01-16 17:20:52 +09:00
parent c59ef59ad9
commit c83069860a
+1 -1
View File
@@ -891,7 +891,7 @@ retry:
}
else {
s = nbuf;
if (v < 0) {
if (base != 10 && v < 0) {
dots = 1;
}
switch (base) {