mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
some fix
This commit is contained in:
parent
25d36840ad
commit
b1ee038583
@ -17,7 +17,7 @@ int utf8len(unsigned char c, bool suppress){
|
||||
if(this->size < sizeof(this->_inlined)){ \
|
||||
this->data = this->_inlined; \
|
||||
}else{ \
|
||||
this->data = (char*)pool64_alloc(this->size); \
|
||||
this->data = (char*)pool64_alloc(this->size+1); \
|
||||
}
|
||||
|
||||
#define PK_STR_COPY_INIT(__s) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user