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