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