aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 65c0c721d11..2dafd8e7b1b 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -4356,7 +4356,7 @@ styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message)
4356 sprintf_buf[0] = XINT (args[n]); 4356 sprintf_buf[0] = XINT (args[n]);
4357 sprintf_bytes = prec != 0; 4357 sprintf_bytes = prec != 0;
4358 } 4358 }
4359 else if (conversion == 'd') 4359 else if (conversion == 'd' || conversion == 'i')
4360 { 4360 {
4361 /* For float, maybe we should use "%1.0f" 4361 /* For float, maybe we should use "%1.0f"
4362 instead so it also works for values outside 4362 instead so it also works for values outside