diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:22:58 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:22:58 -0800 |
commit | 4eec7f8b2b465c6fc2c09d37d4da2b540f607df0 (patch) | |
tree | 9f4e30300e4f96dd3c72f5f435032f8180ce1a6c /src/indent.c | |
parent | fcabb1a6e66f7e6cf4fe0984c4d5c169f4decd8a (diff) | |
parent | 42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (diff) | |
download | emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.tar.gz emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.tar.bz2 emacs-4eec7f8b2b465c6fc2c09d37d4da2b540f607df0.zip |
Use SSDATA when the context wants char *.
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. */) it_overshoot_expected = 1; else if (it.method == GET_FROM_STRING) { - const char *s = SDATA (it.string); + const char *s = SSDATA (it.string); const char *e = s + SBYTES (it.string); while (s < e && *s != '\n') ++s; @@ -2164,4 +2164,3 @@ syms_of_indent (void) defsubr (&Svertical_motion); defsubr (&Scompute_motion); } - |