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: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c
Date: Fri, 23 Sep 2005 14:22:46 -0400

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.398 emacs/src/editfns.c:1.399
*** emacs/src/editfns.c:1.398   Mon Sep 19 08:13:14 2005
--- emacs/src/editfns.c Fri Sep 23 18:22:46 2005
***************
*** 3424,3430 ****
           digits to print after the '.' for floats, or the max.
           number of chars to print from a string.  */
  
!       while (*format && index ("-0# ", *format))
          ++format;
  
        if (*format >= '0' && *format <= '9')
--- 3424,3432 ----
           digits to print after the '.' for floats, or the max.
           number of chars to print from a string.  */
  
!       while (format != end
!              && (*format == '-' || *format == '0' || *format == '#'
!                  || * format == ' '))
          ++format;
  
        if (*format >= '0' && *format <= '9')




reply via email to

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