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>
Tue, 17 Mar 2020 15:24:05 +0000 (15:24 +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 8ab279d1e79e5359d67256a9ac61e449bb8dc3a8..cfa4d1a8a8d85fb724216d8cb80cdb1399dccf6e 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);