mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-20 22:05:15 +00:00
Also set name for new commands to _DESKTOPWIDTH, _DESKTOPHEIHT, _SCREENICON as the community seemed to prefer them.
13 lines
569 B
Plaintext
13 lines
569 B
Plaintext
qbs *_FUNC_IDEZFILENAME_STRING_IDEZFILENAME=NULL;
|
|
if (!_FUNC_IDEZFILENAME_STRING_IDEZFILENAME)_FUNC_IDEZFILENAME_STRING_IDEZFILENAME=qbs_new(0,0);
|
|
qbs*oldstr9246=NULL;
|
|
if(_FUNC_IDEZFILENAME_STRING_F->tmp||_FUNC_IDEZFILENAME_STRING_F->fixed||_FUNC_IDEZFILENAME_STRING_F->readonly){
|
|
oldstr9246=_FUNC_IDEZFILENAME_STRING_F;
|
|
if (oldstr9246->cmem_descriptor){
|
|
_FUNC_IDEZFILENAME_STRING_F=qbs_new_cmem(oldstr9246->len,0);
|
|
}else{
|
|
_FUNC_IDEZFILENAME_STRING_F=qbs_new(oldstr9246->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEZFILENAME_STRING_F->chr,oldstr9246->chr,oldstr9246->len);
|
|
}
|