mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-04 02:40:15 +00:00
10 lines
420 B
Text
10 lines
420 B
Text
qbs*oldstr3574=NULL;
|
|
if(_SUB_ADDWARNING_STRING_TEXT->tmp||_SUB_ADDWARNING_STRING_TEXT->fixed||_SUB_ADDWARNING_STRING_TEXT->readonly){
|
|
oldstr3574=_SUB_ADDWARNING_STRING_TEXT;
|
|
if (oldstr3574->cmem_descriptor){
|
|
_SUB_ADDWARNING_STRING_TEXT=qbs_new_cmem(oldstr3574->len,0);
|
|
}else{
|
|
_SUB_ADDWARNING_STRING_TEXT=qbs_new(oldstr3574->len,0);
|
|
}
|
|
memcpy(_SUB_ADDWARNING_STRING_TEXT->chr,oldstr3574->chr,oldstr3574->len);
|
|
}
|