emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/editfns.c,v [EMACS_22_BASE]


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c,v [EMACS_22_BASE]
Date: Fri, 16 Nov 2007 00:18:17 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Andreas Schwab <schwab> 07/11/16 00:18:16

Index: editfns.c
===================================================================
RCS file: /sources/emacs/emacs/src/editfns.c,v
retrieving revision 1.439.2.6
retrieving revision 1.439.2.7
diff -u -b -r1.439.2.6 -r1.439.2.7
--- editfns.c   16 Nov 2007 00:10:22 -0000      1.439.2.6
+++ editfns.c   16 Nov 2007 00:18:16 -0000      1.439.2.7
@@ -3596,8 +3596,6 @@
        /* Would get MPV otherwise, since Lisp_Int's `point' to low memory.  */
        else if (INTEGERP (args[n]) && *format != 's')
          {
-           thissize = 30;
-
            /* The following loop assumes the Lisp type indicates
               the proper way to pass the argument.
               So make sure we have a flonum if the argument should
@@ -3613,6 +3611,7 @@
                  && *format != 'i' && *format != 'X' && *format != 'c')
                error ("Invalid format operation %%%c", *format);
 
+           thissize = 30 + (precision[n] > 0 ? precision[n] : 0);
            if (*format == 'c')
              {
                if (! SINGLE_BYTE_CHAR_P (XINT (args[n]))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]