mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
21 lines
972 B
Text
21 lines
972 B
Text
qbs *_FUNC_SAVEFILE_STRING_SAVEFILE=NULL;
|
|
if (!_FUNC_SAVEFILE_STRING_SAVEFILE)_FUNC_SAVEFILE_STRING_SAVEFILE=qbs_new(0,0);
|
|
qbs*oldstr6707=NULL;
|
|
if(_FUNC_SAVEFILE_STRING_IDEOPENFILE->tmp||_FUNC_SAVEFILE_STRING_IDEOPENFILE->fixed||_FUNC_SAVEFILE_STRING_IDEOPENFILE->readonly){
|
|
oldstr6707=_FUNC_SAVEFILE_STRING_IDEOPENFILE;
|
|
if (oldstr6707->cmem_descriptor){
|
|
_FUNC_SAVEFILE_STRING_IDEOPENFILE=qbs_new_cmem(oldstr6707->len,0);
|
|
}else{
|
|
_FUNC_SAVEFILE_STRING_IDEOPENFILE=qbs_new(oldstr6707->len,0);
|
|
}
|
|
memcpy(_FUNC_SAVEFILE_STRING_IDEOPENFILE->chr,oldstr6707->chr,oldstr6707->len);
|
|
}
|
|
qbs *_FUNC_SAVEFILE_STRING_F=NULL;
|
|
if (!_FUNC_SAVEFILE_STRING_F)_FUNC_SAVEFILE_STRING_F=qbs_new(0,0);
|
|
qbs *_FUNC_SAVEFILE_STRING_PATH=NULL;
|
|
if (!_FUNC_SAVEFILE_STRING_PATH)_FUNC_SAVEFILE_STRING_PATH=qbs_new(0,0);
|
|
int32 *_FUNC_SAVEFILE_LONG_PATHSEPPOS=NULL;
|
|
if(_FUNC_SAVEFILE_LONG_PATHSEPPOS==NULL){
|
|
_FUNC_SAVEFILE_LONG_PATHSEPPOS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_SAVEFILE_LONG_PATHSEPPOS=0;
|
|
}
|