2015-10-30 12:18:44 +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;
|
|
|
|
}
|
2016-04-06 12:14:00 +00:00
|
|
|
qbs*oldstr4394=NULL;
|
2015-10-30 12:18:44 +00:00
|
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
2016-04-06 12:14:00 +00:00
|
|
|
oldstr4394=_FUNC_IDENEWTXT_STRING_A;
|
|
|
|
if (oldstr4394->cmem_descriptor){
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4394->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2016-04-06 12:14:00 +00:00
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4394->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}
|
2016-04-06 12:14:00 +00:00
|
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4394->chr,oldstr4394->len);
|
2015-10-30 12:18:44 +00:00
|
|
|
}
|