Commit 983f2f1e authored by tqcq's avatar tqcq
Browse files

fix cursor crash

parent 2d12117c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ cursor::offset()
void
cursor::string(std::string &out)
{
    size_t size;
    size_t size   = 0;
    const char *p = this->cstr(&size);
    // out.resize(size);
    // memmove(&out.front(), p, size);