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