2019-04-14 21:52:07 +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;
|
|
|
|
}
|
2020-01-22 16:07:41 +00:00
|
|
|
qbs*oldstr4683=NULL;
|
2019-04-14 21:52:07 +00:00
|
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
2020-01-22 16:07:41 +00:00
|
|
|
oldstr4683=_FUNC_IDENEWTXT_STRING_A;
|
|
|
|
if (oldstr4683->cmem_descriptor){
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4683->len,0);
|
2019-04-14 21:52:07 +00:00
|
|
|
}else{
|
2020-01-22 16:07:41 +00:00
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4683->len,0);
|
2019-04-14 21:52:07 +00:00
|
|
|
}
|
2020-01-22 16:07:41 +00:00
|
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4683->chr,oldstr4683->len);
|
2017-10-17 12:18:53 +00:00
|
|
|
}
|