Properly launch applications set in $HOME/.mailcap
authorMike Hommey <glandium@debian.org>
Sat, 22 Nov 2008 08:35:23 +0000 (09:35 +0100)
committerCarsten Schoenert <c.schoenert@t-online.de>
Wed, 27 Mar 2019 17:22:51 +0000 (17:22 +0000)
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

index deb3e8b56e5cb6b459c292f7728952ef22a6d7a1..84f93cdc82357e3d2842ea1a56563835d8913cfd 100644 (file)
@@ -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<nsIGIOService> giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);