Commit 5c0b6df7 authored by jan.koester's avatar jan.koester
Browse files

corrected loadfile method now gcount to append

parent c992fc87
Loading
Loading
Loading
Loading
+1 −1
Changes for src/html.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -494,7 +494,7 @@ libhtmlpp::HtmlString *libhtmlpp::HtmlPage::loadFile(const char* path){

    while (fs.good()) {
        fs.read(tmp,HTML_BLOCKSIZE);
        _Page<<tmp;
        _Page.append(tmp,fs.gcount());
    }
    fs.close();
    _CheckHeader();