mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 05:34:47 +00:00
14 lines
697 B
Text
14 lines
697 B
Text
qbs*oldstr6522=NULL;
|
|
if(_SUB_UPDATEMENUHELPLINE_STRING_A->tmp||_SUB_UPDATEMENUHELPLINE_STRING_A->fixed||_SUB_UPDATEMENUHELPLINE_STRING_A->readonly){
|
|
oldstr6522=_SUB_UPDATEMENUHELPLINE_STRING_A;
|
|
if (oldstr6522->cmem_descriptor){
|
|
_SUB_UPDATEMENUHELPLINE_STRING_A=qbs_new_cmem(oldstr6522->len,0);
|
|
}else{
|
|
_SUB_UPDATEMENUHELPLINE_STRING_A=qbs_new(oldstr6522->len,0);
|
|
}
|
|
memcpy(_SUB_UPDATEMENUHELPLINE_STRING_A->chr,oldstr6522->chr,oldstr6522->len);
|
|
}
|
|
byte_element_struct *byte_element_6523=NULL;
|
|
if (!byte_element_6523){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6523=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6523=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|