make ncmpcpp compile with -fno-exceptions

This commit is contained in:
Andrzej Rybczak
2009-09-21 06:01:21 +02:00
parent 14a774b8a3
commit 70910b77ed
12 changed files with 135 additions and 70 deletions

View File

@@ -649,7 +649,7 @@ void ReadConfiguration(ncmpcpp_config &conf)
{
conf.progressbar = TO_WSTRING(v);
if (conf.progressbar.length() != 2)
throw std::runtime_error("the length of progressbar_look is not two characters long!");
FatalError("the length of progressbar_look is not two characters long!");
}
else if (cl.find("default_tag_editor_pattern") != std::string::npos)
{