summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2009-08-10 00:56:00 +0000
committerKen Raeburn <raeburn@raeburn.org>2009-08-10 00:56:00 +0000
commitf0bed503c49017428a416fcf464e0a2216880498 (patch)
tree9f028e26b6920fc008a16e1abf05826743e73feb /src/coding.h
parente267324c1cc5853954a2df0d23c62ca9c28b1516 (diff)
downloademacs-f0bed503c49017428a416fcf464e0a2216880498.tar.gz
emacs-f0bed503c49017428a416fcf464e0a2216880498.tar.bz2
emacs-f0bed503c49017428a416fcf464e0a2216880498.zip
(decode_coding_string, encode_coding_string): Use SBYTES macro.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.h b/src/coding.h
index 3e89ff10421..27bc8333c6d 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -735,11 +735,11 @@ extern void encode_coding_object P_ ((struct coding_system *,
#define decode_coding_string(coding, string, nocopy) \
decode_coding_object (coding, string, 0, 0, SCHARS (string), \
- STRING_BYTES (XSTRING (string)), Qt)
+ SBYTES (string), Qt)
#define encode_coding_string(coding, string, nocopy) \
(encode_coding_object (coding, string, 0, 0, SCHARS (string), \
- STRING_BYTES (XSTRING (string)), Qt), \
+ SBYTES (string), Qt), \
(coding)->dst_object)