mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
15 lines
578 B
Text
15 lines
578 B
Text
qbs*oldstr6286=NULL;
|
|
if(_SUB_CLEANSUBNAME_STRING_N->tmp||_SUB_CLEANSUBNAME_STRING_N->fixed||_SUB_CLEANSUBNAME_STRING_N->readonly){
|
|
oldstr6286=_SUB_CLEANSUBNAME_STRING_N;
|
|
if (oldstr6286->cmem_descriptor){
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new_cmem(oldstr6286->len,0);
|
|
}else{
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new(oldstr6286->len,0);
|
|
}
|
|
memcpy(_SUB_CLEANSUBNAME_STRING_N->chr,oldstr6286->chr,oldstr6286->len);
|
|
}
|
|
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;
|
|
}
|