summaryrefslogtreecommitdiff
path: root/pango/pangox-fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangox-fontmap.c')
-rw-r--r--pango/pangox-fontmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pangox-fontmap.c b/pango/pangox-fontmap.c
index 5f86585c..4593a36c 100644
--- a/pango/pangox-fontmap.c
+++ b/pango/pangox-fontmap.c
@@ -98,7 +98,7 @@ struct _PangoXSizeInfo
};
static const struct {
- const gchar *text;
+ const gchar text[12];
PangoWeight value;
} weights_map[] = {
{ "light", 300 },
@@ -115,7 +115,7 @@ static const struct {
};
static const struct {
- const gchar *text;
+ const gchar text[4];
PangoStyle value;
} styles_map[] = {
{ "r", PANGO_STYLE_NORMAL },
@@ -124,7 +124,7 @@ static const struct {
};
static const struct {
- const gchar *text;
+ const gchar text[16];
PangoStretch value;
} stretches_map[] = {
{ "normal", PANGO_STRETCH_NORMAL },