Loading src/html.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -1232,7 +1232,8 @@ void libhtmlpp::HtmlPage::loadFile(libhtmlpp::HtmlElement &html,const char* path throw excp[HTMLException::Critical] << e.what(); } while (fs.read(tmp, HTML_BLOCKSIZE)) { while (fs.good()) { fs.read(tmp,HTML_BLOCKSIZE); data.append(tmp,fs.gcount()); } fs.close(); Loading Loading
src/html.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -1232,7 +1232,8 @@ void libhtmlpp::HtmlPage::loadFile(libhtmlpp::HtmlElement &html,const char* path throw excp[HTMLException::Critical] << e.what(); } while (fs.read(tmp, HTML_BLOCKSIZE)) { while (fs.good()) { fs.read(tmp,HTML_BLOCKSIZE); data.append(tmp,fs.gcount()); } fs.close(); Loading