mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 03:15:07 +00:00
27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
qbs *_FUNC_IDEYESNOBOX_STRING_IDEYESNOBOX=NULL;
|
|
if (!_FUNC_IDEYESNOBOX_STRING_IDEYESNOBOX)_FUNC_IDEYESNOBOX_STRING_IDEYESNOBOX=qbs_new(0,0);
|
|
qbs*oldstr5012=NULL;
|
|
if(_FUNC_IDEYESNOBOX_STRING_TITLESTR->tmp||_FUNC_IDEYESNOBOX_STRING_TITLESTR->fixed||_FUNC_IDEYESNOBOX_STRING_TITLESTR->readonly){
|
|
oldstr5012=_FUNC_IDEYESNOBOX_STRING_TITLESTR;
|
|
if (oldstr5012->cmem_descriptor){
|
|
_FUNC_IDEYESNOBOX_STRING_TITLESTR=qbs_new_cmem(oldstr5012->len,0);
|
|
}else{
|
|
_FUNC_IDEYESNOBOX_STRING_TITLESTR=qbs_new(oldstr5012->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEYESNOBOX_STRING_TITLESTR->chr,oldstr5012->chr,oldstr5012->len);
|
|
}
|
|
qbs*oldstr5013=NULL;
|
|
if(_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->tmp||_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->fixed||_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->readonly){
|
|
oldstr5013=_FUNC_IDEYESNOBOX_STRING_MESSAGESTR;
|
|
if (oldstr5013->cmem_descriptor){
|
|
_FUNC_IDEYESNOBOX_STRING_MESSAGESTR=qbs_new_cmem(oldstr5013->len,0);
|
|
}else{
|
|
_FUNC_IDEYESNOBOX_STRING_MESSAGESTR=qbs_new(oldstr5013->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->chr,oldstr5013->chr,oldstr5013->len);
|
|
}
|
|
int32 *_FUNC_IDEYESNOBOX_LONG_RESULT=NULL;
|
|
if(_FUNC_IDEYESNOBOX_LONG_RESULT==NULL){
|
|
_FUNC_IDEYESNOBOX_LONG_RESULT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEYESNOBOX_LONG_RESULT=0;
|
|
}
|