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