2023-07-25 13:12:37 +00:00
|
|
|
qbs*oldstr6335=NULL;
|
2023-03-24 21:04:26 +00:00
|
|
|
if(_SUB_CLEANSUBNAME_STRING_N->tmp||_SUB_CLEANSUBNAME_STRING_N->fixed||_SUB_CLEANSUBNAME_STRING_N->readonly){
|
2023-07-25 13:12:37 +00:00
|
|
|
oldstr6335=_SUB_CLEANSUBNAME_STRING_N;
|
|
|
|
if (oldstr6335->cmem_descriptor){
|
|
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new_cmem(oldstr6335->len,0);
|
2023-02-18 20:56:37 +00:00
|
|
|
}else{
|
2023-07-25 13:12:37 +00:00
|
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new(oldstr6335->len,0);
|
2023-02-18 20:56:37 +00:00
|
|
|
}
|
2023-07-25 13:12:37 +00:00
|
|
|
memcpy(_SUB_CLEANSUBNAME_STRING_N->chr,oldstr6335->chr,oldstr6335->len);
|
2023-03-24 21:04:26 +00:00
|
|
|
}
|
|
|
|
int32 *_SUB_CLEANSUBNAME_LONG_X=NULL;
|
|
|
|
if(_SUB_CLEANSUBNAME_LONG_X==NULL){
|
|
|
|
_SUB_CLEANSUBNAME_LONG_X=(int32*)mem_static_malloc(4);
|
|
|
|
*_SUB_CLEANSUBNAME_LONG_X=0;
|
2022-12-20 13:31:46 +00:00
|
|
|
}
|