1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-04 11:10:15 +00:00
qb64/internal/source/data45.txt
Galleon bd012cc6f0 Updated image decoding files (some were missing)
'libresample' included (but still using 'libsamplerate')
2013-05-10 13:17:41 +10:00

10 lines
420 B
Text

qbs*oldstr2824=NULL;
if(_SUB_MAKEIDREFER_STRING_REF->tmp||_SUB_MAKEIDREFER_STRING_REF->fixed||_SUB_MAKEIDREFER_STRING_REF->readonly){
oldstr2824=_SUB_MAKEIDREFER_STRING_REF;
if (oldstr2824->cmem_descriptor){
_SUB_MAKEIDREFER_STRING_REF=qbs_new_cmem(oldstr2824->len,0);
}else{
_SUB_MAKEIDREFER_STRING_REF=qbs_new(oldstr2824->len,0);
}
memcpy(_SUB_MAKEIDREFER_STRING_REF->chr,oldstr2824->chr,oldstr2824->len);
}