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*oldstr3893=NULL;
|
|
if(_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->tmp||_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->fixed||_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->readonly){
|
|
oldstr3893=_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME;
|
|
if (oldstr3893->cmem_descriptor){
|
|
_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME=qbs_new_cmem(oldstr3893->len,0);
|
|
}else{
|
|
_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME=qbs_new(oldstr3893->len,0);
|
|
}
|
|
memcpy(_FUNC_FIXDIRECTORYNAME_STRING_DIR_NAME->chr,oldstr3893->chr,oldstr3893->len);
|
|
}
|
|
byte_element_struct *byte_element_3894=NULL;
|
|
if (!byte_element_3894){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3894=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3894=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|