fix cursor crash
This commit is contained in:
parent
2d12117cfb
commit
983f2f1e28
@ -88,7 +88,7 @@ cursor::offset()
|
|||||||
void
|
void
|
||||||
cursor::string(std::string &out)
|
cursor::string(std::string &out)
|
||||||
{
|
{
|
||||||
size_t size;
|
size_t size = 0;
|
||||||
const char *p = this->cstr(&size);
|
const char *p = this->cstr(&size);
|
||||||
// out.resize(size);
|
// out.resize(size);
|
||||||
// memmove(&out.front(), p, size);
|
// memmove(&out.front(), p, size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user