mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 14:00:17 +00:00
12 lines
583 B
Text
12 lines
583 B
Text
qbs *_FUNC_QUOTEDFILENAME_STRING_QUOTEDFILENAME=NULL;
|
|
if (!_FUNC_QUOTEDFILENAME_STRING_QUOTEDFILENAME)_FUNC_QUOTEDFILENAME_STRING_QUOTEDFILENAME=qbs_new(0,0);
|
|
qbs*oldstr3608=NULL;
|
|
if(_FUNC_QUOTEDFILENAME_STRING_F->tmp||_FUNC_QUOTEDFILENAME_STRING_F->fixed||_FUNC_QUOTEDFILENAME_STRING_F->readonly){
|
|
oldstr3608=_FUNC_QUOTEDFILENAME_STRING_F;
|
|
if (oldstr3608->cmem_descriptor){
|
|
_FUNC_QUOTEDFILENAME_STRING_F=qbs_new_cmem(oldstr3608->len,0);
|
|
}else{
|
|
_FUNC_QUOTEDFILENAME_STRING_F=qbs_new(oldstr3608->len,0);
|
|
}
|
|
memcpy(_FUNC_QUOTEDFILENAME_STRING_F->chr,oldstr3608->chr,oldstr3608->len);
|
|
}
|