summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Configuration.cpp2
-rw-r--r--src/ingen/ingen.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index e165118f..603c1c9d 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -86,7 +86,7 @@ Configuration::add(const std::string& key,
{
assert(value.type() == type || value.type() == 0);
_max_name_length = std::max(_max_name_length, name.length());
- _options.insert(make_pair(name, Option(key, name, letter, desc, scope, type, value)));
+ _options.insert(make_pair(name, Option{key, name, letter, desc, scope, type, value}));
if (!key.empty()) {
_keys.insert(make_pair(key, name));
}
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp
index 1e407507..9ca4b276 100644
--- a/src/ingen/ingen.cpp
+++ b/src/ingen/ingen.cpp
@@ -86,7 +86,7 @@ int
main(int argc, char** argv)
{
Glib::thread_init();
- Ingen::set_bundle_path_from_code((void*)&main);
+ Ingen::set_bundle_path_from_code((void*)&print_version);
// Create world
try {