mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 14:00:17 +00:00
16 lines
910 B
Text
16 lines
910 B
Text
qbs *_FUNC_FIXDIRECTORYNAME_STRING_FIXDIRECTORYNAME=NULL;
|
|
if (!_FUNC_FIXDIRECTORYNAME_STRING_FIXDIRECTORYNAME)_FUNC_FIXDIRECTORYNAME_STRING_FIXDIRECTORYNAME=qbs_new(0,0);
|
|
qbs*oldstr3824=NULL;
|
|
if(_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->tmp||_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->fixed||_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->readonly){
|
|
oldstr3824=_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME;
|
|
if (oldstr3824->cmem_descriptor){
|
|
_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME=qbs_new_cmem(oldstr3824->len,0);
|
|
}else{
|
|
_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME=qbs_new(oldstr3824->len,0);
|
|
}
|
|
memcpy(_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->chr,oldstr3824->chr,oldstr3824->len);
|
|
}
|
|
byte_element_struct *byte_element_3825=NULL;
|
|
if (!byte_element_3825){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3825=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3825=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|