From 95ae84f3710d7e619b7b53ed1112f52c428d7367 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sat, 22 Nov 2008 09:35:23 +0100 Subject: [PATCH] Properly launch applications set in $HOME/.mailcap https://bugzilla.mozilla.org/show_bug.cgi?id=444440 Gbp-Pq: Topic fixes Gbp-Pq: Name Properly-launch-applications-set-in-HOME-.mailcap.patch --- 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 8ab279d1e7..cfa4d1a8a8 100644 --- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp +++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp @@ -54,6 +54,10 @@ nsresult nsMIMEInfoUnix::LaunchDefaultWithFile(nsIFile* aFile) { if (mDefaultApplication) return nsMIMEInfoImpl::LaunchDefaultWithFile(aFile); nsAutoCString nativePath; +/* the name of the function has changed + * the old was the following: + nsCAutoString nativePath; + */ aFile->GetNativePath(nativePath); nsCOMPtr giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID); -- 2.30.2