diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2016-11-25T14·48+0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-11-25T14·48+0100 |
commit | f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7 (patch) | |
tree | 23a76a33f21ce39184bcbdcd28cb937d15968ce7 /src/libstore/globals.cc | |
parent | 7ee43df8622cc0589d54248fb44cebe1c1d991d2 (diff) |
Get rid of unicode quotes (#1140)
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index 00b468892529..84f93ba28522 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -103,7 +103,7 @@ void Settings::loadConfFile() if (tokens.empty()) continue; if (tokens.size() < 2 || tokens[1] != "=") - throw Error(format("illegal configuration line ‘%1%’ in ‘%2%’") % line % settingsFile); + throw Error(format("illegal configuration line '%1%' in '%2%'") % line % settingsFile); string name = tokens[0]; @@ -202,7 +202,7 @@ void Settings::_get(bool & res, const string & name) if (i == settings.end()) return; if (i->second == "true") res = true; else if (i->second == "false") res = false; - else throw Error(format("configuration option ‘%1%’ should be either ‘true’ or ‘false’, not ‘%2%’") + else throw Error(format("configuration option '%1%' should be either 'true' or 'false', not '%2%'") % name % i->second); } @@ -229,7 +229,7 @@ template<class N> void Settings::_get(N & res, const string & name) SettingsMap::iterator i = settings.find(name); if (i == settings.end()) return; if (!string2Int(i->second, res)) - throw Error(format("configuration setting ‘%1%’ should have an integer value") % name); + throw Error(format("configuration setting '%1%' should have an integer value") % name); } |