2021-08-17 13:00:16 +00:00
|
|
|
int32 *_FUNC_IDENEWTXT_LONG_IDENEWTXT=NULL;
|
|
|
|
if(_FUNC_IDENEWTXT_LONG_IDENEWTXT==NULL){
|
|
|
|
_FUNC_IDENEWTXT_LONG_IDENEWTXT=(int32*)mem_static_malloc(4);
|
|
|
|
*_FUNC_IDENEWTXT_LONG_IDENEWTXT=0;
|
2021-08-15 06:00:33 +00:00
|
|
|
}
|
2021-08-20 15:05:12 +00:00
|
|
|
qbs*oldstr5214=NULL;
|
2021-08-17 13:00:16 +00:00
|
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
2021-08-20 15:05:12 +00:00
|
|
|
oldstr5214=_FUNC_IDENEWTXT_STRING_A;
|
|
|
|
if (oldstr5214->cmem_descriptor){
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr5214->len,0);
|
2021-08-17 13:00:16 +00:00
|
|
|
}else{
|
2021-08-20 15:05:12 +00:00
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr5214->len,0);
|
2021-08-17 13:00:16 +00:00
|
|
|
}
|
2021-08-20 15:05:12 +00:00
|
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr5214->chr,oldstr5214->len);
|
2021-01-14 03:03:50 +00:00
|
|
|
}
|