mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
11 lines
399 B
Text
11 lines
399 B
Text
|
qbs*oldstr3358=NULL;
|
||
|
if(_SUB_GIVE_ERROR_STRING_A->tmp||_SUB_GIVE_ERROR_STRING_A->fixed||_SUB_GIVE_ERROR_STRING_A->readonly){
|
||
|
oldstr3358=_SUB_GIVE_ERROR_STRING_A;
|
||
|
if (oldstr3358->cmem_descriptor){
|
||
|
_SUB_GIVE_ERROR_STRING_A=qbs_new_cmem(oldstr3358->len,0);
|
||
|
}else{
|
||
|
_SUB_GIVE_ERROR_STRING_A=qbs_new(oldstr3358->len,0);
|
||
|
}
|
||
|
memcpy(_SUB_GIVE_ERROR_STRING_A->chr,oldstr3358->chr,oldstr3358->len);
|
||
|
}
|