mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-04 11:10:15 +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*oldstr5252=NULL;
|
|
if(_FUNC_IDEYESNOBOX_STRING_TITLESTR->tmp||_FUNC_IDEYESNOBOX_STRING_TITLESTR->fixed||_FUNC_IDEYESNOBOX_STRING_TITLESTR->readonly){
|
|
oldstr5252=_FUNC_IDEYESNOBOX_STRING_TITLESTR;
|
|
if (oldstr5252->cmem_descriptor){
|
|
_FUNC_IDEYESNOBOX_STRING_TITLESTR=qbs_new_cmem(oldstr5252->len,0);
|
|
}else{
|
|
_FUNC_IDEYESNOBOX_STRING_TITLESTR=qbs_new(oldstr5252->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEYESNOBOX_STRING_TITLESTR->chr,oldstr5252->chr,oldstr5252->len);
|
|
}
|
|
qbs*oldstr5253=NULL;
|
|
if(_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->tmp||_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->fixed||_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->readonly){
|
|
oldstr5253=_FUNC_IDEYESNOBOX_STRING_MESSAGESTR;
|
|
if (oldstr5253->cmem_descriptor){
|
|
_FUNC_IDEYESNOBOX_STRING_MESSAGESTR=qbs_new_cmem(oldstr5253->len,0);
|
|
}else{
|
|
_FUNC_IDEYESNOBOX_STRING_MESSAGESTR=qbs_new(oldstr5253->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEYESNOBOX_STRING_MESSAGESTR->chr,oldstr5253->chr,oldstr5253->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;
|
|
}
|