mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-18 08:15:14 +00:00
2805e420d2
This reverts commit 5d1a7fac1c
.
11 lines
399 B
Plaintext
11 lines
399 B
Plaintext
qbs*oldstr3442=NULL;
|
|
if(_SUB_GIVE_ERROR_STRING_A->tmp||_SUB_GIVE_ERROR_STRING_A->fixed||_SUB_GIVE_ERROR_STRING_A->readonly){
|
|
oldstr3442=_SUB_GIVE_ERROR_STRING_A;
|
|
if (oldstr3442->cmem_descriptor){
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new_cmem(oldstr3442->len,0);
|
|
}else{
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new(oldstr3442->len,0);
|
|
}
|
|
memcpy(_SUB_GIVE_ERROR_STRING_A->chr,oldstr3442->chr,oldstr3442->len);
|
|
}
|