mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 17:54:16 +00:00
3941732ed5
Also set name for new commands to _DESKTOPWIDTH, _DESKTOPHEIHT, _SCREENICON as the community seemed to prefer them.
23 lines
1.1 KiB
Text
23 lines
1.1 KiB
Text
qbs*oldstr8310=NULL;
|
|
if(_SUB_LINEINPUT3LOAD_STRING_F->tmp||_SUB_LINEINPUT3LOAD_STRING_F->fixed||_SUB_LINEINPUT3LOAD_STRING_F->readonly){
|
|
oldstr8310=_SUB_LINEINPUT3LOAD_STRING_F;
|
|
if (oldstr8310->cmem_descriptor){
|
|
_SUB_LINEINPUT3LOAD_STRING_F=qbs_new_cmem(oldstr8310->len,0);
|
|
}else{
|
|
_SUB_LINEINPUT3LOAD_STRING_F=qbs_new(oldstr8310->len,0);
|
|
}
|
|
memcpy(_SUB_LINEINPUT3LOAD_STRING_F->chr,oldstr8310->chr,oldstr8310->len);
|
|
}
|
|
int32 *_SUB_LINEINPUT3LOAD_LONG_L=NULL;
|
|
if(_SUB_LINEINPUT3LOAD_LONG_L==NULL){
|
|
_SUB_LINEINPUT3LOAD_LONG_L=(int32*)mem_static_malloc(4);
|
|
*_SUB_LINEINPUT3LOAD_LONG_L=0;
|
|
}
|
|
byte_element_struct *byte_element_8311=NULL;
|
|
if (!byte_element_8311){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_8311=(byte_element_struct*)(mem_static_pointer-12); else byte_element_8311=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_8312=NULL;
|
|
if (!byte_element_8312){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_8312=(byte_element_struct*)(mem_static_pointer-12); else byte_element_8312=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|