change the style-load-error msg

This commit is contained in:
Dana Jansens 2002-11-16 14:32:26 +00:00
parent 12a95bfdb3
commit 638d4e6f19

View file

@ -48,7 +48,7 @@ void OtkApplication::loadStyle(void)
std::string style = "/usr/local/share/openbox/styles/artwiz"; std::string style = "/usr/local/share/openbox/styles/artwiz";
_style_conf->setFile(style); _style_conf->setFile(style);
if (!_style_conf->load()) { if (!_style_conf->load()) {
std::cerr << "Unable to load style \"" << style << "\". Aborting.\n"; std::cerr << "ERROR: Unable to load style \"" << style << "\".\n";
::exit(1); ::exit(1);
} }
_style->load(*_style_conf); _style->load(*_style_conf);