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