[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12823: Invalid font name
From: |
Andreas Schwab |
Subject: |
bug#12823: Invalid font name |
Date: |
Tue, 13 Nov 2012 20:25:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Kenichi Handa <handa@gnu.org> writes:
> === modified file 'src/font.c'
> --- src/font.c 2012-11-03 05:11:34 +0000
> +++ src/font.c 2012-11-13 11:50:50 +0000
> @@ -1185,7 +1185,7 @@
> font_unparse_xlfd (Lisp_Object font, int pixel_size, char *name, int nbytes)
> {
> char *p;
> - const char *f[XLFD_REGISTRY_INDEX + 1];
> + char *f[XLFD_REGISTRY_INDEX + 1];
This will provoke warnings that are turned into errors with
--enable-gcc-warnings. There is no need for that, just use a temporary
variable (there is already one above that is perfectly suitable).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- bug#12823: Invalid font name, Stefan Monnier, 2012/11/07
- bug#12823: Invalid font name, Jan Djärv, 2012/11/07
- bug#12823: Invalid font name, Kenichi Handa, 2012/11/09
- bug#12823: Invalid font name, Kenichi Handa, 2012/11/13
- bug#12823: Invalid font name,
Andreas Schwab <=
- bug#12823: Invalid font name, Kenichi Handa, 2012/11/15
- bug#12823: Invalid font name, Kenichi Handa, 2012/11/27
- bug#12823: Invalid font name, Stefan Monnier, 2012/11/27
- bug#12823: Invalid font name, Kenichi Handa, 2012/11/28
- bug#12823: Invalid font name, Stefan Monnier, 2012/11/28