summaryrefslogtreecommitdiff
path: root/pango/pango-markup.c
diff options
context:
space:
mode:
authorMatthias Warkus <mawarkus@src.gnome.org>2002-07-02 17:15:24 +0000
committerMatthias Warkus <mawarkus@src.gnome.org>2002-07-02 17:15:24 +0000
commit325238c642d9f89a4e46df6cf1bd6c9942097c1b (patch)
treecb9638a9811f5962e239135c47abecc5d2e3066c /pango/pango-markup.c
parent97fa7cb97b669d91117862cefce3caa0eb7c366d (diff)
downloadpango-325238c642d9f89a4e46df6cf1bd6c9942097c1b.tar.gz
Fixed segfault, see ChangeLog
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r--pango/pango-markup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index 6ca773d7..6698f872 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -1175,7 +1175,7 @@ span_parse_func (MarkupData *md,
char *end = NULL;
glong n;
- n = strtol (weight, &end, 10);
+ n = strtol (rise, &end, 10);
if (*end != '\0')
{