diff src/gtkimhtml.c @ 11820:2cf6d4cf2cb0

[gaim-migrate @ 14111] Death to // comments. Excluding win32, where it doesn't matter, this should be it except for crazychat and bonjour. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 25 Oct 2005 20:50:21 +0000
parents fa17fc619f17
children 047f85200139
line wrap: on
line diff
--- a/src/gtkimhtml.c	Tue Oct 25 19:18:44 2005 +0000
+++ b/src/gtkimhtml.c	Tue Oct 25 20:50:21 2005 +0000
@@ -1645,7 +1645,7 @@
 			while((link = links[i]) != NULL){
 				if(gaim_str_has_prefix(link, "http://") ||
 				   gaim_str_has_prefix(link, "https://") ||
-                   gaim_str_has_prefix(link, "ftp://"))
+				   gaim_str_has_prefix(link, "ftp://"))
 				{
 					gchar *label;
 
@@ -2655,22 +2655,16 @@
 							font->fore = color;
 							gtk_imhtml_toggle_forecolor(imhtml, font->fore);
 						}
-						//else if (oldfont && oldfont->fore)
-						//	font->fore = g_strdup(oldfont->fore);
 
 						if (back && !(options & GTK_IMHTML_NO_COLOURS) && (imhtml->format_functions & GTK_IMHTML_BACKCOLOR)) {
 							font->back = back;
 							gtk_imhtml_toggle_backcolor(imhtml, font->back);
 						}
-						//else if (oldfont && oldfont->back)
-						//	font->back = g_strdup(oldfont->back);
 
 						if (face && !(options & GTK_IMHTML_NO_FONTS) && (imhtml->format_functions & GTK_IMHTML_FACE)) {
 							font->face = face;
 							gtk_imhtml_toggle_fontface(imhtml, font->face);
 						}
-						//else if (oldfont && oldfont->face)
-						//		font->face = g_strdup(oldfont->face);
 
 						if (sml)
 							font->sml = sml;