diff options
| author | Paul Eggert | 2023-09-20 01:04:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2023-09-20 01:05:42 -0700 |
| commit | fb8dfba0f14c5db43fa161103b28764ff198db8f (patch) | |
| tree | fb44057291eb72d401d56f816126241431af73d5 /src | |
| parent | 74dffcdf4f25ce4dc9074b0215f9967fb3e245a5 (diff) | |
| download | emacs-fb8dfba0f14c5db43fa161103b28764ff198db8f.tar.gz emacs-fb8dfba0f14c5db43fa161103b28764ff198db8f.zip | |
Fix off-by-1 typo in vadd_to_log
* src/xdisp.c (vadd_to_log): Fix off-by-1 typo that I introduced
in commit fbee6265a72a4129d2efbf15a622b13e8b4aae9f
dated Thu Aug 13 13:48:28 2015 -0700.
Problem and fix reported by Robert Pluim (Bug#66098#11).
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 2944f3964e8..f1980c4f20c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -11808,7 +11808,7 @@ vadd_to_log (char const *format, va_list ap) | |||
| 11808 | eassert (nargs <= ARRAYELTS (args)); | 11808 | eassert (nargs <= ARRAYELTS (args)); |
| 11809 | AUTO_STRING (args0, format); | 11809 | AUTO_STRING (args0, format); |
| 11810 | args[0] = args0; | 11810 | args[0] = args0; |
| 11811 | for (ptrdiff_t i = 1; i <= nargs; i++) | 11811 | for (ptrdiff_t i = 1; i < nargs; i++) |
| 11812 | args[i] = va_arg (ap, Lisp_Object); | 11812 | args[i] = va_arg (ap, Lisp_Object); |
| 11813 | Lisp_Object msg = Qnil; | 11813 | Lisp_Object msg = Qnil; |
| 11814 | msg = Fformat_message (nargs, args); | 11814 | msg = Fformat_message (nargs, args); |