mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 09:30:15 +00:00
12 lines
569 B
Text
12 lines
569 B
Text
qbs *_FUNC_IDEZFILENAME_STRING_IDEZFILENAME=NULL;
|
|
if (!_FUNC_IDEZFILENAME_STRING_IDEZFILENAME)_FUNC_IDEZFILENAME_STRING_IDEZFILENAME=qbs_new(0,0);
|
|
qbs*oldstr4186=NULL;
|
|
if(_FUNC_IDEZFILENAME_STRING_F->tmp||_FUNC_IDEZFILENAME_STRING_F->fixed||_FUNC_IDEZFILENAME_STRING_F->readonly){
|
|
oldstr4186=_FUNC_IDEZFILENAME_STRING_F;
|
|
if (oldstr4186->cmem_descriptor){
|
|
_FUNC_IDEZFILENAME_STRING_F=qbs_new_cmem(oldstr4186->len,0);
|
|
}else{
|
|
_FUNC_IDEZFILENAME_STRING_F=qbs_new(oldstr4186->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEZFILENAME_STRING_F->chr,oldstr4186->chr,oldstr4186->len);
|
|
}
|