From 6af41c87dfc91b3cc980467b074e5efed3998ed5 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 16 Nov 2007 00:19:41 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog | 4 ++-- src/editfns.c | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 96b0d5f5e3f..e620d1e9e9e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,7 @@ 2007-11-15 Andreas Schwab - * editfns.c (Fformat): Correctly format EMACS_INT values. - When formatting an integer as float take precision into account. + * editfns.c (Fformat): Correctly format EMACS_INT values. Also + take precision into account when formatting an integer. 2007-11-15 Juanma Barranquero diff --git a/src/editfns.c b/src/editfns.c index 06fb1413b02..bcfe5756034 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3601,11 +3601,7 @@ usage: (format STRING &rest OBJECTS) */) So make sure we have a flonum if the argument should be a double. */ if (*format == 'e' || *format == 'f' || *format == 'g') - { - args[n] = Ffloat (args[n]); - if (precision[n] > 0) - thissize += precision[n]; - } + args[n] = Ffloat (args[n]); else if (*format != 'd' && *format != 'o' && *format != 'x' && *format != 'i' && *format != 'X' && *format != 'c') -- 2.39.2