1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

*** empty log message ***

This commit is contained in:
Andreas Schwab 2007-11-16 00:19:41 +00:00
parent 791e6ff67d
commit 6af41c87df
2 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
2007-11-15 Andreas Schwab <schwab@suse.de>
* 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 <lekktu@gmail.com>

View File

@ -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')