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