fixed ~D of 0
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1451 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
edbebec3c8
commit
01de9c0b38
@ -4069,6 +4069,9 @@ format(volatile Term otail, volatile Term oargs, int sno)
|
||||
if (dec < 0) {
|
||||
dec = -dec;
|
||||
f_putc(sno, (int) '-');
|
||||
} else if (dec == 0) {
|
||||
f_putc(sno, '0');
|
||||
break;
|
||||
}
|
||||
i = dec;
|
||||
siz = 0;
|
||||
|
Reference in New Issue
Block a user