summaryrefslogtreecommitdiffstats
path: root/src/Configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Configuration.cpp')
-rw-r--r--src/Configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index 1ea70a3..bc6cfbd 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -85,7 +85,7 @@ Configuration::set_value_from_string(Configuration::Option& option, const std::s
}
break;
case Atom::STRING:
- option.value = Atom(Atom::STRING, value);
+ option.value = Atom(value.c_str());
break;
default:
throw CommandLineError(string("bad option type `--") + option.name + "'");