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