X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSession.cpp;h=8abc70051e1c921b9110fd613fd4f705447afd9a;hb=4ba4d701f798488c098ecbc740c3020ed514cd96;hp=53e3c663d43a53bdec58d5e572745763506df4fb;hpb=138b23fac84930cdbfada0067c61480989041113;p=lyx.git diff --git a/src/Session.cpp b/src/Session.cpp index 53e3c663d4..8abc70051e 100644 --- a/src/Session.cpp +++ b/src/Session.cpp @@ -75,14 +75,14 @@ void LastFilesSection::read(istream & is) getline(is, tmp); if (tmp == "" || tmp[0] == '#' || tmp[0] == ' ' || !absolutePath(tmp)) continue; - + // read lastfiles FileName const file(tmp); if (fs::exists(file.toFilesystemEncoding()) && !fs::is_directory(file.toFilesystemEncoding()) && lastfiles.size() < num_lastfiles) lastfiles.push_back(file); - else + else LYXERR(Debug::INIT) << "LyX: Warning: Ignore last file: " << tmp << endl; } while (is.good()); } @@ -344,7 +344,7 @@ void ToolbarSection::read(istream & is) value >> posx; value >> posy; toolbars.push_back(boost::make_tuple(key, ToolbarInfo(state, location, posx, posy))); - } else + } else LYXERR(Debug::INIT) << "LyX: Warning: Ignore toolbar info: " << tmp << endl; } catch (...) { LYXERR(Debug::INIT) << "LyX: Warning: unknown Toolbar info: " << tmp << endl;