Mercurial > pidgin.yaz
changeset 52:ceb0d714d180
[gaim-migrate @ 62]
Fix this back
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 26 Mar 2000 08:55:05 +0000 |
parents | e87924231c2e |
children | bb007396e0a1 |
files | src/gtkhtml.c |
diffstat | 1 files changed, 7 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkhtml.c Sun Mar 26 08:53:59 2000 +0000 +++ b/src/gtkhtml.c Sun Mar 26 08:55:05 2000 +0000 @@ -2953,20 +2953,18 @@ } - + if (url != NULL) { + fore = get_color(3355647, gdk_window_get_colormap(html->html_area); + } hb = g_new0(GtkHtmlBit, 1); hb->text = g_strdup(text); - if (url != NULL) { - hb->fore = get_color(3355647, gdk_window_get_colormap(html->html_area)); - } else { - if (fore) - hb->fore = gdk_color_copy(fore); - else - hb->fore = NULL; - } + if (fore) + hb->fore = gdk_color_copy(fore); + else + hb->fore = NULL; if (back) hb->back = gdk_color_copy(back);