aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c
index e7b152726e3..5605a25bdd2 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3662,7 +3662,7 @@ usage: (format STRING &rest OBJECTS) */)
3662 ++nchars; 3662 ++nchars;
3663 } 3663 }
3664 3664
3665 start = nchars; 3665 info[n].start = start = nchars;
3666 nchars += nchars_string; 3666 nchars += nchars_string;
3667 end = nchars; 3667 end = nchars;
3668 3668
@@ -3677,6 +3677,8 @@ usage: (format STRING &rest OBJECTS) */)
3677 nbytes, 3677 nbytes,
3678 STRING_MULTIBYTE (args[n]), multibyte); 3678 STRING_MULTIBYTE (args[n]), multibyte);
3679 3679
3680 info[n].end = nchars;
3681
3680 if (negative) 3682 if (negative)
3681 while (padding-- > 0) 3683 while (padding-- > 0)
3682 { 3684 {
@@ -3713,9 +3715,9 @@ usage: (format STRING &rest OBJECTS) */)
3713 else 3715 else
3714 p += this_nchars; 3716 p += this_nchars;
3715 nchars += this_nchars; 3717 nchars += this_nchars;
3718 info[n].end = nchars;
3716 } 3719 }
3717 3720
3718 info[n].end = nchars;
3719 } 3721 }
3720 else if (STRING_MULTIBYTE (args[0])) 3722 else if (STRING_MULTIBYTE (args[0]))
3721 { 3723 {