- if (lyxrc.read(lyxrc_path) < 0) {
-#if USE_BOOST_FORMAT
- Alert::alert(_("LyX Warning!"),
- boost::io::str(boost::format(_("Error while reading %1$s.")) % lyxrc_path),
- _("Using built-in defaults."));
-#else
- Alert::alert(_("LyX Warning!"),
- _("Error while reading ") + lyxrc_path,
- _("Using built-in defaults."));
-#endif
- return false;
- }
- return true;
- } else {
- lyxerr[Debug::INIT] << "Could not find " << name << endl;