aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ContentHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r--embed/mozilla/ContentHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 276223137..abe3401e9 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -384,11 +384,13 @@ NS_METHOD GContentHandler::MIMEInitiateAction (void)
}
}
+#ifndef HAVE_GECKO_1_9
if (auto_downloads)
{
mAction = CONTENT_ACTION_OPEN;
}
else
+#endif /* !HAVE_GECKO_1_9 */
{
mAction = CONTENT_ACTION_OPEN_TMP;
}