]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_term_frame_name): Use size_byte.
authorRichard M. Stallman <rms@gnu.org>
Fri, 9 Jan 1998 23:13:22 +0000 (23:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 9 Jan 1998 23:13:22 +0000 (23:13 +0000)
src/frame.c

index ceb7951f7abeefcca8819e6fe4723ecfa40ca386..63f4e9f16ed45e7731e75ad02f87d8cf32247b2e 100644 (file)
@@ -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<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");
     }