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