[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/editfns.c,v
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] Changes to emacs/src/editfns.c,v |
Date: |
Thu, 15 Nov 2007 23:52:52 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Andreas Schwab <schwab> 07/11/15 23:52:52
Index: editfns.c
===================================================================
RCS file: /sources/emacs/emacs/src/editfns.c,v
retrieving revision 1.448
retrieving revision 1.449
diff -u -b -r1.448 -r1.449
--- editfns.c 15 Nov 2007 23:37:33 -0000 1.448
+++ editfns.c 15 Nov 2007 23:52:51 -0000 1.449
@@ -3541,8 +3541,10 @@
precision[n+1] = 10 * precision[n+1] + *format - '0';
}
- if (format - this_format_start + 1 > longest_format)
- longest_format = format - this_format_start + 1;
+ /* Extra +1 for 'l' that we may need to insert into the
+ format. */
+ if (format - this_format_start + 2 > longest_format)
+ longest_format = format - this_format_start + 2;
if (format == end)
error ("Format string ends in middle of format specifier");
- [Emacs-diffs] Changes to emacs/src/editfns.c,v, Andreas Schwab, 2007/11/15
- [Emacs-diffs] Changes to emacs/src/editfns.c,v,
Andreas Schwab <=
- [Emacs-diffs] Changes to emacs/src/editfns.c,v, Andreas Schwab, 2007/11/15
- [Emacs-diffs] Changes to emacs/src/editfns.c,v, Andreas Schwab, 2007/11/15
- [Emacs-diffs] Changes to emacs/src/editfns.c,v, Andreas Schwab, 2007/11/15
- [Emacs-diffs] Changes to emacs/src/editfns.c,v, Andreas Schwab, 2007/11/23