summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 7e450f5e..7735d6f2 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3468,7 +3468,7 @@ get_need_hyphen (PangoItem *item,
int *need_hyphen)
{
int i;
- char *p;
+ const char *p;
for (i = 0, p = text + item->offset; i < item->num_chars; i++, p = g_utf8_next_char (p))
{