diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-13 20:54:11 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-13 20:54:11 +0000 |
commit | 9a14e5d71232b809f920605ee070aeab74e27955 (patch) | |
tree | 5a491873cbacd0b0ad20ae65b3fd059a91f71ef5 /pango | |
parent | bbc93a92c3c34a9da3236a0906a6062898e0193d (diff) | |
download | pango-9a14e5d71232b809f920605ee070aeab74e27955.tar.gz |
Fix problem with attr_list == NULL. (#85079, Andreas J. Guelzow)
Thu Jun 13 16:39:01 2002 Owen Taylor <otaylor@redhat.com>
* pango/pango-markup.c (pango_parse_markup):
Fix problem with attr_list == NULL. (#85079,
Andreas J. Guelzow)
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-markup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c index 23a88345..6ca773d7 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -598,6 +598,8 @@ pango_parse_markup (const char *markup_text, */ if (attr_list) md->attr_list = pango_attr_list_new (); + else + md->attr_list = NULL; md->text = g_string_new (""); |