mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 11:40:15 +00:00
ba7f80e361
This reverts commit ad0e5e4ef3
.
10 lines
389 B
Text
10 lines
389 B
Text
qbs*oldstr4147=NULL;
|
|
if(_SUB_GIVE_ERROR_STRING_A->tmp||_SUB_GIVE_ERROR_STRING_A->fixed||_SUB_GIVE_ERROR_STRING_A->readonly){
|
|
oldstr4147=_SUB_GIVE_ERROR_STRING_A;
|
|
if (oldstr4147->cmem_descriptor){
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new_cmem(oldstr4147->len,0);
|
|
}else{
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new(oldstr4147->len,0);
|
|
}
|
|
memcpy(_SUB_GIVE_ERROR_STRING_A->chr,oldstr4147->chr,oldstr4147->len);
|
|
}
|