summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/options.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-13 12:25:00 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-13 12:25:21 +0200
commit2edee0b81142bb565d646145f79cb6e70a7f1d4a (patch)
treec6cfb2a26a0c981972d280633bcac240b5f481e1 /src/lib/util/options.c
parentdcd4f2a5b8476240591fd519c172c3f41710839a (diff)
updated astring constructors to have just one string param, to be more like std::string (nw)
Diffstat (limited to 'src/lib/util/options.c')
-rw-r--r--src/lib/util/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/options.c b/src/lib/util/options.c
index d1d69db2e82..f5beddf1d71 100644
--- a/src/lib/util/options.c
+++ b/src/lib/util/options.c
@@ -687,7 +687,7 @@ void core_options::append_entry(core_options::entry &newentry)
// for boolean options add a "no" variant as well
if (newentry.type() == OPTION_BOOLEAN)
- m_entrymap.add(astring("no", newentry.name(name)).c_str(), &newentry);
+ m_entrymap.add(astring("no").cat(newentry.name(name)).c_str(), &newentry);
}
}