summaryrefslogtreecommitdiffstats
path: root/debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch
blob: 0b05f7adc917f32207dba5485997c7d3e18d6630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Mike Hommey <glandium@debian.org>
Date: Sat, 22 Nov 2008 09:35:23 +0100
Subject: Properly launch applications set in $HOME/.mailcap

https://bugzilla.mozilla.org/show_bug.cgi?id=444440
---
 uriloader/exthandler/unix/nsMIMEInfoUnix.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
index 330c441..ff9d78b 100644
--- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
+++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
@@ -57,6 +57,10 @@ nsresult nsMIMEInfoUnix::LaunchDefaultWithFile(nsIFile* aFile) {
   }
 
   nsAutoCString nativePath;
+/* the name of the function has changed
+ * the old was the following:
+  nsCAutoString nativePath;
+  */
   aFile->GetNativePath(nativePath);
 
   nsCOMPtr<nsIGIOService> giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);