mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 09:30:15 +00:00
30 lines
1.4 KiB
Text
30 lines
1.4 KiB
Text
qbs*oldstr3717=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_SECTION->tmp||_SUB_WRITECONFIGSETTING_STRING_SECTION->fixed||_SUB_WRITECONFIGSETTING_STRING_SECTION->readonly){
|
|
oldstr3717=_SUB_WRITECONFIGSETTING_STRING_SECTION;
|
|
if (oldstr3717->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_SECTION=qbs_new_cmem(oldstr3717->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_SECTION=qbs_new(oldstr3717->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_SECTION->chr,oldstr3717->chr,oldstr3717->len);
|
|
}
|
|
qbs*oldstr3718=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_ITEM->tmp||_SUB_WRITECONFIGSETTING_STRING_ITEM->fixed||_SUB_WRITECONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3718=_SUB_WRITECONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3718->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3718->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new(oldstr3718->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_ITEM->chr,oldstr3718->chr,oldstr3718->len);
|
|
}
|
|
qbs*oldstr3719=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_VALUE->tmp||_SUB_WRITECONFIGSETTING_STRING_VALUE->fixed||_SUB_WRITECONFIGSETTING_STRING_VALUE->readonly){
|
|
oldstr3719=_SUB_WRITECONFIGSETTING_STRING_VALUE;
|
|
if (oldstr3719->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3719->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_VALUE=qbs_new(oldstr3719->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_VALUE->chr,oldstr3719->chr,oldstr3719->len);
|
|
}
|