From: Richard M. Stallman Date: Fri, 9 Jan 1998 23:13:22 +0000 (+0000) Subject: (set_term_frame_name): Use size_byte. X-Git-Tag: emacs-20.3~2452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e34c5c7daff4b2eb68e03e18cdd62dc7d76814d3;p=emacs.git (set_term_frame_name): Use size_byte. --- 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"); }