mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
10 lines
410 B
Text
10 lines
410 B
Text
qbs*oldstr3045=NULL;
|
|
if(_SUB_MAKEIDREFER_STRING_REF->tmp||_SUB_MAKEIDREFER_STRING_REF->fixed||_SUB_MAKEIDREFER_STRING_REF->readonly){
|
|
oldstr3045=_SUB_MAKEIDREFER_STRING_REF;
|
|
if (oldstr3045->cmem_descriptor){
|
|
_SUB_MAKEIDREFER_STRING_REF=qbs_new_cmem(oldstr3045->len,0);
|
|
}else{
|
|
_SUB_MAKEIDREFER_STRING_REF=qbs_new(oldstr3045->len,0);
|
|
}
|
|
memcpy(_SUB_MAKEIDREFER_STRING_REF->chr,oldstr3045->chr,oldstr3045->len);
|
|
}
|