summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2002-07-15 00:01:34 +0000
committerKen Raeburn <raeburn@raeburn.org>2002-07-15 00:01:34 +0000
commitd5db40779d7505244d37476b4f046641f07eea2b (patch)
tree5c8bf4dad41639287e722cb7cbdc0709e47a9e53 /src/xdisp.c
parent491c2516d32fa8b9ba9422ec142c8925dd82af00 (diff)
downloademacs-d5db40779d7505244d37476b4f046641f07eea2b.tar.gz
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index e594ca20c74..d391a37f229 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3698,7 +3698,7 @@ get_overlay_strings (it, charpos)
it->stop_charpos = 0;
xassert (STRINGP (it->string));
it->end_charpos = SCHARS (it->string);
- it->multibyte_p = SMBP (it->string);
+ it->multibyte_p = STRING_MULTIBYTE (it->string);
it->method = next_element_from_string;
}
else
@@ -6102,9 +6102,9 @@ message_with_string (m, string, log)
message = Fformat (2, args);
if (log)
- message3 (message, SBYTES (message), SMBP (message));
+ message3 (message, SBYTES (message), STRING_MULTIBYTE (message));
else
- message3_nolog (message, SBYTES (message), SMBP (message));
+ message3_nolog (message, SBYTES (message), STRING_MULTIBYTE (message));
UNGCPRO;
@@ -6824,7 +6824,7 @@ restore_message ()
xassert (CONSP (Vmessage_stack));
msg = XCAR (Vmessage_stack);
if (STRINGP (msg))
- message3_nolog (msg, SBYTES (msg), SMBP (msg));
+ message3_nolog (msg, SBYTES (msg), STRING_MULTIBYTE (msg));
else
message3_nolog (msg, 0, 0);
}