changeset 17276: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 b409b5c3063a
children da6e87c14cea
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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; "