2015-02-20 13:15:27 +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;
|
|
|
|
}
|
2015-03-07 03:02:33 +00:00
|
|
|
qbs*oldstr4118=NULL;
|
2015-02-20 13:15:27 +00:00
|
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
2015-03-07 03:02:33 +00:00
|
|
|
oldstr4118=_FUNC_IDENEWTXT_STRING_A;
|
|
|
|
if (oldstr4118->cmem_descriptor){
|
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4118->len,0);
|
2015-02-20 13:15:27 +00:00
|
|
|
}else{
|
2015-03-07 03:02:33 +00:00
|
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4118->len,0);
|
2015-02-20 13:15:27 +00:00
|
|
|
}
|
2015-03-07 03:02:33 +00:00
|
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4118->chr,oldstr4118->len);
|
2015-02-20 13:15:27 +00:00
|
|
|
}
|