Commit 40b7c9a4 authored by Jan Koester's avatar Jan Koester
Browse files

fixed wrong value

parent e998da50
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
@@ -57,7 +57,7 @@ void libhtmlpp::HtmlString::assign(const char* src, size_t srcsize){

void libhtmlpp::HtmlString::push_back(const char src){
    size_t nsize=_DataSize+1;
    char *buf=new char [nsize+1];
    char *buf=new char [nsize+2];
    size_t i;
    for(i = 0; i<_DataSize; ++i){
        buf[i]=_Data[i];