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