diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-11-09 07:43:09 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-11-09 07:43:09 +0000 |
commit | a671bf6772c2341ecb3bef9f6b0671603d2f9619 (patch) | |
tree | 44b0661219d21e3bd3e66a933cb06978a3ae0ec3 /pango/pango-markup.c | |
parent | ba2a78f0035834cd4031daa3d9097378affea072 (diff) | |
download | pango-a671bf6772c2341ecb3bef9f6b0671603d2f9619.tar.gz |
Set layout wrapping to PANGO_WRAP_WORD_CHAR if width is set for the
2005-11-09 Behdad Esfahbod <behdad@gnome.org>
* examples/renderdemo.c (make_layout): Set layout wrapping to
PANGO_WRAP_WORD_CHAR if width is set for the layout. Setting width
didn't have any effect previously.
* pango/pango-layout.c (process_item): Remove the excess
letter_spacing adjustment on the item width. (#168593, Damon Chaplin)
* pango/pango-markup.c (pango_parse_markup), pango/querymodules.c:
Replace g_string_new ("") with g_string_new (NULL).
* pango/pangoft2.c: Use g_malloc'ed memory for unknown FreeType2
error, instead of static buffer.
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r-- | pango/pango-markup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c index d2d39409..bd268d6b 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -601,7 +601,7 @@ pango_parse_markup (const char *markup_text, else md->attr_list = NULL; - md->text = g_string_new (""); + md->text = g_string_new (NULL); if (accel_char) *accel_char = 0; |