mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-08 19:35:13 +00:00
13 lines
517 B
Plaintext
13 lines
517 B
Plaintext
qbs *_FUNC_COMPRESS_STRING_COMPRESS=NULL;
|
|
if (!_FUNC_COMPRESS_STRING_COMPRESS)_FUNC_COMPRESS_STRING_COMPRESS=qbs_new(0,0);
|
|
qbs*oldstr4536=NULL;
|
|
if(_FUNC_COMPRESS_STRING_A->tmp||_FUNC_COMPRESS_STRING_A->fixed||_FUNC_COMPRESS_STRING_A->readonly){
|
|
oldstr4536=_FUNC_COMPRESS_STRING_A;
|
|
if (oldstr4536->cmem_descriptor){
|
|
_FUNC_COMPRESS_STRING_A=qbs_new_cmem(oldstr4536->len,0);
|
|
}else{
|
|
_FUNC_COMPRESS_STRING_A=qbs_new(oldstr4536->len,0);
|
|
}
|
|
memcpy(_FUNC_COMPRESS_STRING_A->chr,oldstr4536->chr,oldstr4536->len);
|
|
}
|