2015-07-28 12:13:04 +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;
|
|
|
|
}
|
|
|
|
qbs*oldstr4181=NULL;
|
|
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
|
|
|
oldstr4181=_FUNC_IDENEWTXT_STRING_A;
|
|
|
|
if (oldstr4181->cmem_descriptor){
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4181->len,0);
|
|
|
|
}else{
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4181->len,0);
|
|
|
|
}
|
|
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4181->chr,oldstr4181->len);
|
2015-07-09 12:13:04 +00:00
|
|
|
}
|