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


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c
Date: Tue, 10 Dec 2002 02:40:11 -0500

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.345 emacs/src/editfns.c:1.346
*** emacs/src/editfns.c:1.345   Tue Dec 10 02:09:41 2002
--- emacs/src/editfns.c Tue Dec 10 02:40:11 2002
***************
*** 3212,3218 ****
       string itself, will not be used.  Element NARGS, corresponding to
       no argument, *will* be assigned to in the case that a `%' and `.'
       occur after the final format specifier.  */
!   int * precision = (int *) (_alloca(nargs * sizeof (int)));
    int longest_format;
    Lisp_Object val;
    struct info
--- 3212,3218 ----
       string itself, will not be used.  Element NARGS, corresponding to
       no argument, *will* be assigned to in the case that a `%' and `.'
       occur after the final format specifier.  */
!   int *precision = (int *) (alloca(nargs * sizeof (int)));
    int longest_format;
    Lisp_Object val;
    struct info
***************
*** 3385,3394 ****
            /* Note that we're using sprintf to print floats,
               so we have to take into account what that function
               prints.  */
!           /* Filter out flag value of -1.  This is a conditional with omitted
!              operand: the value is PRECISION[N] if the conditional is >=0 and
!              otherwise is 0. */
!           thissize = MAX_10_EXP + 100 + ((precision[n] > 0)?precision[n]:0);
          }
        else
          {
--- 3385,3392 ----
            /* Note that we're using sprintf to print floats,
               so we have to take into account what that function
               prints.  */
!           /* Filter out flag value of -1.  */
!           thissize = MAX_10_EXP + 100 + ((precision[n] > 0) ? precision[n] : 
0);
          }
        else
          {



reply via email to

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