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, 12 Jan 2022 19:46:54 +0000 (19:46 +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 7cbefcce3e94202739f55fed93d7efcaeda946fd..c4bafefa25ff6f86b14c049c3780e7e8b491c3c2 100644 (file)
@@ -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<nsIGIOService> giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);