[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About the new frame title
From: |
Eli Zaretskii |
Subject: |
Re: About the new frame title |
Date: |
Thu, 24 Sep 2020 17:46:27 +0300 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Thu, 24 Sep 2020 01:57:38 -0700
> Cc: angelo.g0@libero.it, emacs-devel@gnu.org
>
> + const char *title;
> if (STRINGP (system_name))
> {
> - *nametail++ = '@';
> - lispstpcpy (nametail, system_name);
> + title = "GNU Emacs at ";
> + ptrdiff_t nbytes = sizeof (title);
Does this work? AFAIK, 'sizeof (char *)' returns 8 on a 64-bit system
and 4 on a 32-bit system, regardless of the length of the text string
it points to.
- About the new frame title, Angelo Graziosi, 2020/09/14
- Re: About the new frame title, Eli Zaretskii, 2020/09/14
- Re: About the new frame title, Angelo Graziosi, 2020/09/14
- Re: About the new frame title, Stefan Kangas, 2020/09/19
- Re: About the new frame title, Eli Zaretskii, 2020/09/19
- Re: About the new frame title, Stefan Kangas, 2020/09/24
- Re: About the new frame title,
Eli Zaretskii <=
- Re: About the new frame title, Angelo Graziosi, 2020/09/25
- Re: About the new frame title, Eli Zaretskii, 2020/09/25
- Re: About the new frame title, Angelo Graziosi, 2020/09/25
- Re: About the new frame title, Eli Zaretskii, 2020/09/25
- Re: About the new frame title, Angelo Graziosi, 2020/09/19
- Re: About the new frame title, Stefan Kangas, 2020/09/24