diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-03-31 23:06:17 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-03-31 23:06:17 +0000 |
commit | 91b9aa307d7f7a76eea3b0f48f30b32ba849f7a1 (patch) | |
tree | 38fcf15c9d8c3729cd260dfc94f13fdc0b16d33b /pango/fonts.c | |
parent | e9f563364cad9d096f6c60e0607652fbb88ca4ff (diff) | |
download | pango-91b9aa307d7f7a76eea3b0f48f30b32ba849f7a1.tar.gz |
Change char* to char[] in the ft error table, to avoid relocations.
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c:
* pango/pango-utils.c:
* pango/pangox-fontmap.c:
* pango/pangoft2.c (_pango_ft2_ft_strerror): Change char* to
char[] in the ft error table, to avoid relocations.
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index 8c14d717..10bb10b0 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -753,7 +753,7 @@ pango_font_descriptions_free (PangoFontDescription **descs, typedef struct { int value; - const char *str; + const char str[16]; } FieldMap; static const FieldMap style_map[] = { |