diff options
| author | Andreas Schwab | 2007-11-15 23:53:10 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-11-15 23:53:10 +0000 |
| commit | b322c2058fb39e1c3c3bd1576d43cf6e25573002 (patch) | |
| tree | a8ab88bb33bdf438bd51d408426c2c7402e20540 /src | |
| parent | f52fcaa4f399a0f96d4be0bcaa8342818f15e82b (diff) | |
| download | emacs-b322c2058fb39e1c3c3bd1576d43cf6e25573002.tar.gz emacs-b322c2058fb39e1c3c3bd1576d43cf6e25573002.zip | |
Fix last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index fb9c1c96b59..deb95198978 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3543,8 +3543,10 @@ usage: (format STRING &rest OBJECTS) */) | |||
| 3543 | precision[n+1] = 10 * precision[n+1] + *format - '0'; | 3543 | precision[n+1] = 10 * precision[n+1] + *format - '0'; |
| 3544 | } | 3544 | } |
| 3545 | 3545 | ||
| 3546 | if (format - this_format_start + 1 > longest_format) | 3546 | /* Extra +1 for 'l' that we may need to insert into the |
| 3547 | longest_format = format - this_format_start + 1; | 3547 | format. */ |
| 3548 | if (format - this_format_start + 2 > longest_format) | ||
| 3549 | longest_format = format - this_format_start + 2; | ||
| 3548 | 3550 | ||
| 3549 | if (format == end) | 3551 | if (format == end) |
| 3550 | error ("Format string ends in middle of format specifier"); | 3552 | error ("Format string ends in middle of format specifier"); |