mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 07:55:07 +00:00
20 lines
1.1 KiB
Text
20 lines
1.1 KiB
Text
qbs*oldstr3653=NULL;
|
|
if(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->tmp||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->fixed||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->readonly){
|
|
oldstr3653=_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE;
|
|
if (oldstr3653->cmem_descriptor){
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE=qbs_new_cmem(oldstr3653->len,0);
|
|
}else{
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE=qbs_new(oldstr3653->len,0);
|
|
}
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_CODE->chr,oldstr3653->chr,oldstr3653->len);
|
|
}
|
|
qbs*oldstr3654=NULL;
|
|
if(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->tmp||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->fixed||_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->readonly){
|
|
oldstr3654=_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE;
|
|
if (oldstr3654->cmem_descriptor){
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE=qbs_new_cmem(oldstr3654->len,0);
|
|
}else{
|
|
_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE=qbs_new(oldstr3654->len,0);
|
|
}
|
|
memcpy(_SUB_CREATEANDROIDPROJECT_ADDFILE_STRING_FILE->chr,oldstr3654->chr,oldstr3654->len);
|
|
}
|