diff options
Diffstat (limited to 'src/indent.c')
| -rw-r--r-- | src/indent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index e2cd0fc0a99..b40cb9f50b6 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -2046,7 +2046,7 @@ whether or not it is currently displayed in some window. */) | |||
| 2046 | it_overshoot_expected = 1; | 2046 | it_overshoot_expected = 1; |
| 2047 | else if (it.method == GET_FROM_STRING) | 2047 | else if (it.method == GET_FROM_STRING) |
| 2048 | { | 2048 | { |
| 2049 | const char *s = SDATA (it.string); | 2049 | const char *s = SSDATA (it.string); |
| 2050 | const char *e = s + SBYTES (it.string); | 2050 | const char *e = s + SBYTES (it.string); |
| 2051 | while (s < e && *s != '\n') | 2051 | while (s < e && *s != '\n') |
| 2052 | ++s; | 2052 | ++s; |
| @@ -2164,4 +2164,3 @@ syms_of_indent (void) | |||
| 2164 | defsubr (&Svertical_motion); | 2164 | defsubr (&Svertical_motion); |
| 2165 | defsubr (&Scompute_motion); | 2165 | defsubr (&Scompute_motion); |
| 2166 | } | 2166 | } |
| 2167 | |||