From e34c5c7daff4b2eb68e03e18cdd62dc7d76814d3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 9 Jan 1998 23:13:22 +0000 Subject: [PATCH] (set_term_frame_name): Use size_byte. --- src/frame.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frame.c b/src/frame.c index ceb7951f7ab..63f4e9f16ed 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1793,7 +1793,8 @@ set_term_frame_name (f, name) /* Check for no change needed in this very common case before we do any consing. */ - if (frame_name_fnn_p (XSTRING (f->name)->data, XSTRING (f->name)->size)) + if (frame_name_fnn_p (XSTRING (f->name)->data, + XSTRING (f->name)->size_byte)) return; terminal_frame_count++; @@ -1810,7 +1811,7 @@ set_term_frame_name (f, name) /* Don't allow the user to set the frame name to F, so it doesn't clash with the names we generate for terminal frames. */ - if (frame_name_fnn_p (XSTRING (name)->data, XSTRING (name)->size)) + if (frame_name_fnn_p (XSTRING (name)->data, XSTRING (name)->size_byte)) error ("Frame names of the form F are usurped by Emacs"); } -- 2.39.2