From c62200b484d0274bfa18becb371b7c830c612bb5 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 7cbefcce3e..c4bafefa25 100644 --- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp +++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp @@ -53,6 +53,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