projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52fcaa
)
Fix last change.
author
Andreas Schwab
<schwab@suse.de>
Thu, 15 Nov 2007 23:53:10 +0000
(23:53 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Thu, 15 Nov 2007 23:53:10 +0000
(23:53 +0000)
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index fb9c1c96b59905b3c9b269fe185902586c04140c..deb9519897808e69cb55af3b4f6eecaaaaa9e2d6 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-3543,8
+3543,10
@@
usage: (format STRING &rest OBJECTS) */)
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");