1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-08 19:35:13 +00:00
qb64/internal/source/data166.txt

11 lines
399 B
Plaintext

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