From 2edee0b81142bb565d646145f79cb6e70a7f1d4a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 13 Apr 2015 12:25:00 +0200 Subject: updated astring constructors to have just one string param, to be more like std::string (nw) --- src/lib/util/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/options.c') 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); } } -- cgit v1.2.3-70-g09d2