diff --git a/src/session.C b/src/session.C index 51a210e83e..fd2f26a7fc 100644 --- a/src/session.C +++ b/src/session.C @@ -184,7 +184,7 @@ void LastFilePosSection::read(istream & is) itmp.ignore(2); // ignore ", " itmp >> pos; itmp.ignore(2); // ignore ", " - itmp >> fname; + getline(itmp, fname); if (!absolutePath(fname)) continue; FileName const file(fname); @@ -253,7 +253,7 @@ void BookmarksSection::read(istream & is) itmp.ignore(2); // ignore ", " itmp >> pos; itmp.ignore(2); // ignore ", " - itmp >> fname; + getline(itmp, fname); if (!absolutePath(fname)) continue; FileName const file(fname);