2014-02-23 02:21:35 +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;
|
|
|
|
}
|
2014-07-11 06:57:14 +00:00
|
|
|
qbs*oldstr9043=NULL;
|
2014-02-23 02:21:35 +00:00
|
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
2014-07-11 06:57:14 +00:00
|
|
|
oldstr9043=_FUNC_IDENEWTXT_STRING_A;
|
|
|
|
if (oldstr9043->cmem_descriptor){
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr9043->len,0);
|
2014-02-23 02:21:35 +00:00
|
|
|
}else{
|
2014-07-11 06:57:14 +00:00
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr9043->len,0);
|
2014-02-23 02:21:35 +00:00
|
|
|
}
|
2014-07-11 06:57:14 +00:00
|
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr9043->chr,oldstr9043->len);
|
2014-02-23 02:21:35 +00:00
|
|
|
}
|