mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 06:45:09 +00:00
14 lines
711 B
Text
14 lines
711 B
Text
qbs*oldstr5740=NULL;
|
|
if(_SUB_UPDATEMENUHELPLINE_STRING_A->tmp||_SUB_UPDATEMENUHELPLINE_STRING_A->fixed||_SUB_UPDATEMENUHELPLINE_STRING_A->readonly){
|
|
oldstr5740=_SUB_UPDATEMENUHELPLINE_STRING_A;
|
|
if (oldstr5740->cmem_descriptor){
|
|
_SUB_UPDATEMENUHELPLINE_STRING_A=qbs_new_cmem(oldstr5740->len,0);
|
|
}else{
|
|
_SUB_UPDATEMENUHELPLINE_STRING_A=qbs_new(oldstr5740->len,0);
|
|
}
|
|
memcpy(_SUB_UPDATEMENUHELPLINE_STRING_A->chr,oldstr5740->chr,oldstr5740->len);
|
|
}
|
|
byte_element_struct *byte_element_5741=NULL;
|
|
if (!byte_element_5741){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5741=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5741=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|