mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 22:20:15 +00:00
20 lines
1.2 KiB
Text
20 lines
1.2 KiB
Text
qbs*oldstr3604=NULL;
|
|
if(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->tmp||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->fixed||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->readonly){
|
|
oldstr3604=_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE;
|
|
if (oldstr3604->cmem_descriptor){
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE=qbs_new_cmem(oldstr3604->len,0);
|
|
}else{
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE=qbs_new(oldstr3604->len,0);
|
|
}
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_FILE->chr,oldstr3604->chr,oldstr3604->len);
|
|
}
|
|
qbs*oldstr3605=NULL;
|
|
if(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->tmp||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->fixed||_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->readonly){
|
|
oldstr3605=_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER;
|
|
if (oldstr3605->cmem_descriptor){
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER=qbs_new_cmem(oldstr3605->len,0);
|
|
}else{
|
|
_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER=qbs_new(oldstr3605->len,0);
|
|
}
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_RESTOREFILE_STRING_PROJECTFOLDER->chr,oldstr3605->chr,oldstr3605->len);
|
|
}
|