summaryrefslogtreecommitdiff
path: root/src/cairo-ft-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-ft-font.c')
-rw-r--r--src/cairo-ft-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 1b04397c..913ed836 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -263,7 +263,7 @@ _utf8_to_ucs4 (char const *utf8,
len -= step;
utf8 += step;
}
- *nchars = alloc;
+ *nchars = n;
}
static void