Commit 7c301401 authored by jan.koester's avatar jan.koester
Browse files

bugfix

parent 14fb9081
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ const char* libhtmlpp::HtmlString::operator*(){
}

size_t libhtmlpp::HtmlString::length() const{
    return _Data.size()-1;
    return _Data.empty() ? 0 : (_Data.size() - 1);
}

size_t libhtmlpp::HtmlString::size() const{