mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
print("%d", 0) should not print -0; fix #3731
This commit is contained in:
@@ -847,7 +847,7 @@ retry:
|
||||
}
|
||||
|
||||
if (sign) {
|
||||
if (v > 0) {
|
||||
if (v >= 0) {
|
||||
if (flags & FPLUS) {
|
||||
sc = '+';
|
||||
width--;
|
||||
|
||||
Reference in New Issue
Block a user