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