mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-30 17:40:16 +00:00
13 lines
595 B
Text
13 lines
595 B
Text
|
qbs *_FUNC_QUOTEDFILENAME_STRING_QUOTEDFILENAME=NULL;
|
||
|
if (!_FUNC_QUOTEDFILENAME_STRING_QUOTEDFILENAME)_FUNC_QUOTEDFILENAME_STRING_QUOTEDFILENAME=qbs_new(0,0);
|
||
|
qbs*oldstr3305=NULL;
|
||
|
if(_FUNC_QUOTEDFILENAME_STRING_F->tmp||_FUNC_QUOTEDFILENAME_STRING_F->fixed||_FUNC_QUOTEDFILENAME_STRING_F->readonly){
|
||
|
oldstr3305=_FUNC_QUOTEDFILENAME_STRING_F;
|
||
|
if (oldstr3305->cmem_descriptor){
|
||
|
_FUNC_QUOTEDFILENAME_STRING_F=qbs_new_cmem(oldstr3305->len,0);
|
||
|
}else{
|
||
|
_FUNC_QUOTEDFILENAME_STRING_F=qbs_new(oldstr3305->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_QUOTEDFILENAME_STRING_F->chr,oldstr3305->chr,oldstr3305->len);
|
||
|
}
|