Mercurial > emacs
changeset 20622:619c69f1ab83
(set_term_frame_name): Use size_byte.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 Jan 1998 23:13:22 +0000 |
parents | ee017970042d |
children | b4f792fd5e50 |
files | src/frame.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Fri Jan 09 23:12:05 1998 +0000 +++ b/src/frame.c Fri Jan 09 23:13:22 1998 +0000 @@ -1793,7 +1793,8 @@ /* 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 @@ /* Don't allow the user to set the frame name to F<num>, 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<num> are usurped by Emacs"); }