mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-01 09:20:17 +00:00
20 lines
1.2 KiB
Text
20 lines
1.2 KiB
Text
qbs*oldstr3644=NULL;
|
|
if(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->tmp||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->fixed||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->readonly){
|
|
oldstr3644=_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE;
|
|
if (oldstr3644->cmem_descriptor){
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE=qbs_new_cmem(oldstr3644->len,0);
|
|
}else{
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE=qbs_new(oldstr3644->len,0);
|
|
}
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->chr,oldstr3644->chr,oldstr3644->len);
|
|
}
|
|
qbs*oldstr3645=NULL;
|
|
if(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->tmp||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->fixed||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->readonly){
|
|
oldstr3645=_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER;
|
|
if (oldstr3645->cmem_descriptor){
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER=qbs_new_cmem(oldstr3645->len,0);
|
|
}else{
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER=qbs_new(oldstr3645->len,0);
|
|
}
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->chr,oldstr3645->chr,oldstr3645->len);
|
|
}
|