diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 5 |
1 files 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) | |||
| 1793 | 1793 | ||
| 1794 | /* Check for no change needed in this very common case | 1794 | /* Check for no change needed in this very common case |
| 1795 | before we do any consing. */ | 1795 | before we do any consing. */ |
| 1796 | if (frame_name_fnn_p (XSTRING (f->name)->data, XSTRING (f->name)->size)) | 1796 | if (frame_name_fnn_p (XSTRING (f->name)->data, |
| 1797 | XSTRING (f->name)->size_byte)) | ||
| 1797 | return; | 1798 | return; |
| 1798 | 1799 | ||
| 1799 | terminal_frame_count++; | 1800 | terminal_frame_count++; |
| @@ -1810,7 +1811,7 @@ set_term_frame_name (f, name) | |||
| 1810 | 1811 | ||
| 1811 | /* Don't allow the user to set the frame name to F<num>, so it | 1812 | /* Don't allow the user to set the frame name to F<num>, so it |
| 1812 | doesn't clash with the names we generate for terminal frames. */ | 1813 | doesn't clash with the names we generate for terminal frames. */ |
| 1813 | if (frame_name_fnn_p (XSTRING (name)->data, XSTRING (name)->size)) | 1814 | if (frame_name_fnn_p (XSTRING (name)->data, XSTRING (name)->size_byte)) |
| 1814 | error ("Frame names of the form F<num> are usurped by Emacs"); | 1815 | error ("Frame names of the form F<num> are usurped by Emacs"); |
| 1815 | } | 1816 | } |
| 1816 | 1817 | ||