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