2014-02-23 02:21:35 +00:00
|
|
|
qbs *_FUNC_COMPRESS_STRING_COMPRESS=NULL;
|
|
|
|
if (!_FUNC_COMPRESS_STRING_COMPRESS)_FUNC_COMPRESS_STRING_COMPRESS=qbs_new(0,0);
|
2014-02-24 20:08:23 +00:00
|
|
|
qbs*oldstr4537=NULL;
|
2014-02-23 02:21:35 +00:00
|
|
|
if(_FUNC_COMPRESS_STRING_A->tmp||_FUNC_COMPRESS_STRING_A->fixed||_FUNC_COMPRESS_STRING_A->readonly){
|
2014-02-24 20:08:23 +00:00
|
|
|
oldstr4537=_FUNC_COMPRESS_STRING_A;
|
|
|
|
if (oldstr4537->cmem_descriptor){
|
|
|
|
_FUNC_COMPRESS_STRING_A=qbs_new_cmem(oldstr4537->len,0);
|
2014-02-23 02:21:35 +00:00
|
|
|
}else{
|
2014-02-24 20:08:23 +00:00
|
|
|
_FUNC_COMPRESS_STRING_A=qbs_new(oldstr4537->len,0);
|
2014-02-23 02:21:35 +00:00
|
|
|
}
|
2014-02-24 20:08:23 +00:00
|
|
|
memcpy(_FUNC_COMPRESS_STRING_A->chr,oldstr4537->chr,oldstr4537->len);
|
2014-02-23 02:21:35 +00:00
|
|
|
}
|