mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50: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*oldstr3820=NULL;
|
|
if(_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->tmp||_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->fixed||_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->readonly){
|
|
oldstr3820=_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME;
|
|
if (oldstr3820->cmem_descriptor){
|
|
_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME=qbs_new_cmem(oldstr3820->len,0);
|
|
}else{
|
|
_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME=qbs_new(oldstr3820->len,0);
|
|
}
|
|
memcpy(_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->chr,oldstr3820->chr,oldstr3820->len);
|
|
}
|
|
byte_element_struct *byte_element_3821=NULL;
|
|
if (!byte_element_3821){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3821=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3821=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|