mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
10 lines
420 B
Text
10 lines
420 B
Text
qbs*oldstr3026=NULL;
|
|
if(_SUB_MAKEIDREFER_STRING_REF->tmp||_SUB_MAKEIDREFER_STRING_REF->fixed||_SUB_MAKEIDREFER_STRING_REF->readonly){
|
|
oldstr3026=_SUB_MAKEIDREFER_STRING_REF;
|
|
if (oldstr3026->cmem_descriptor){
|
|
_SUB_MAKEIDREFER_STRING_REF=qbs_new_cmem(oldstr3026->len,0);
|
|
}else{
|
|
_SUB_MAKEIDREFER_STRING_REF=qbs_new(oldstr3026->len,0);
|
|
}
|
|
memcpy(_SUB_MAKEIDREFER_STRING_REF->chr,oldstr3026->chr,oldstr3026->len);
|
|
}
|