GNU bug report logs -
#12823
Invalid font name
Previous Next
Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>
Date: Wed, 7 Nov 2012 15:16:01 UTC
Severity: normal
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Kenichi Handa <handa <at> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
This bug report was last modified 10 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.