diff libpurple/protocols/msn/notification.c @ 17220:513ee58e7305

Only write out the HTML comment on win32, to avoid the risk of confusing gnome-open. Fixes #1247
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 24 May 2007 11:12:15 +0000
parents 0c7d4f561b04
children 59e09ff3490d 48e26f248251
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Thu May 24 03:11:24 2007 +0000
+++ b/libpurple/protocols/msn/notification.c	Thu May 24 11:12:15 2007 +0000
@@ -999,8 +999,10 @@
 	}
 	else
 	{
-		fputs("<!-- saved from url=(0013)about:internet -->\n"
-			  "<html>\n"
+#ifdef _WIN32
+		fputs("<!-- saved from url=(0013)about:internet -->\n", fd);
+#endif
+		fputs("<html>\n"
 			  "<head>\n"
 			  "<noscript>\n"
 			  "<meta http-equiv=\"Refresh\" content=\"0; "