mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
30 lines
1.4 KiB
Text
30 lines
1.4 KiB
Text
qbs*oldstr3712=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_SECTION->tmp||_SUB_WRITECONFIGSETTING_STRING_SECTION->fixed||_SUB_WRITECONFIGSETTING_STRING_SECTION->readonly){
|
|
oldstr3712=_SUB_WRITECONFIGSETTING_STRING_SECTION;
|
|
if (oldstr3712->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_SECTION=qbs_new_cmem(oldstr3712->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_SECTION=qbs_new(oldstr3712->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_SECTION->chr,oldstr3712->chr,oldstr3712->len);
|
|
}
|
|
qbs*oldstr3713=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_ITEM->tmp||_SUB_WRITECONFIGSETTING_STRING_ITEM->fixed||_SUB_WRITECONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3713=_SUB_WRITECONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3713->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3713->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new(oldstr3713->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_ITEM->chr,oldstr3713->chr,oldstr3713->len);
|
|
}
|
|
qbs*oldstr3714=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_VALUE->tmp||_SUB_WRITECONFIGSETTING_STRING_VALUE->fixed||_SUB_WRITECONFIGSETTING_STRING_VALUE->readonly){
|
|
oldstr3714=_SUB_WRITECONFIGSETTING_STRING_VALUE;
|
|
if (oldstr3714->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3714->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_VALUE=qbs_new(oldstr3714->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_VALUE->chr,oldstr3714->chr,oldstr3714->len);
|
|
}
|