[FORMATTING]

* No code changes.

svn path=/trunk/; revision=56370
This commit is contained in:
Amine Khaldi 2012-04-20 19:12:07 +00:00
parent 54d9802905
commit b9a7b90af3

View file

@ -94,10 +94,12 @@ void ExplorerGlobals::read_persistent()
_cfg_path.printf(TEXT("%s\\ros-explorer-cfg.xml"), _cfg_dir.c_str());
if (!_cfg.read_file(_cfg_path)) {
if (!_cfg._errors.empty())
MessageBox(_hwndDesktop, _cfg._errors.str(),
TEXT("ROS Explorer - reading user settings"), MB_OK);
if (!_cfg._errors.empty()) {
MessageBox(_hwndDesktop,
_cfg._errors.str(),
TEXT("ROS Explorer - reading user settings"),
MB_OK);
}
_cfg.read_file(TEXT("explorer-cfg-template.xml"));
}