Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 1453:ecf700f23852
[gaim-migrate @ 1463]
bugfixes
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 31 Jan 2001 11:25:18 +0000 |
parents | 91d84e2073de |
children | 637592eb8b24 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Wed Jan 31 09:59:11 2001 +0000 +++ b/src/gtkimhtml.c Wed Jan 31 11:25:18 2001 +0000 @@ -1701,7 +1701,8 @@ { GdkColor c; - gdk_color_parse (color, &c); + if (!gdk_color_parse (color, &c)) + return NULL; return gdk_color_copy (&c); } @@ -2333,8 +2334,13 @@ intag = FALSE; tpos = 0; - if (imhtml->img == NULL) + if (imhtml->img == NULL) { + ws [wpos] = 0; + strcat (ws, copy); + wpos = strlen (ws); + g_free (copy); continue; + } t = tag + strlen ("<IMG"); do {