From 78242e5d6cf40d81b308bc73834eefde42467f39 Mon Sep 17 00:00:00 2001 From: Vitaliy Slobodin Date: Wed, 10 Apr 2013 02:52:45 +0400 Subject: [PATCH] Fix command line option typo Issue #11219: https://github.com/ariya/phantomjs/issues/11219 --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index 226c98f4..67953020 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -662,7 +662,7 @@ void Config::handleOption(const QString &option, const QVariant &value) setLocalToRemoteUrlAccessEnabled(boolValue); } - if (option == "max-disk-cache") { + if (option == "max-disk-cache-size") { setMaxDiskCacheSize(value.toInt()); }