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