mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 10:40:17 +00:00
12 lines
517 B
Text
12 lines
517 B
Text
qbs *_FUNC_COMPRESS_STRING_COMPRESS=NULL;
|
|
if (!_FUNC_COMPRESS_STRING_COMPRESS)_FUNC_COMPRESS_STRING_COMPRESS=qbs_new(0,0);
|
|
qbs*oldstr4525=NULL;
|
|
if(_FUNC_COMPRESS_STRING_A->tmp||_FUNC_COMPRESS_STRING_A->fixed||_FUNC_COMPRESS_STRING_A->readonly){
|
|
oldstr4525=_FUNC_COMPRESS_STRING_A;
|
|
if (oldstr4525->cmem_descriptor){
|
|
_FUNC_COMPRESS_STRING_A=qbs_new_cmem(oldstr4525->len,0);
|
|
}else{
|
|
_FUNC_COMPRESS_STRING_A=qbs_new(oldstr4525->len,0);
|
|
}
|
|
memcpy(_FUNC_COMPRESS_STRING_A->chr,oldstr4525->chr,oldstr4525->len);
|
|
}
|