1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-07 17:40:16 +00:00
QB64-PE/internal/source/data105.txt

13 lines
466 B
Text
Raw Normal View History

2022-08-26 14:13:09 +00:00
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
2022-09-03 02:27:00 +00:00
qbs*oldstr3711=NULL;
2022-08-26 14:13:09 +00:00
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
2022-09-03 02:27:00 +00:00
oldstr3711=_FUNC_SCASE_STRING_T;
if (oldstr3711->cmem_descriptor){
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3711->len,0);
2022-08-26 14:13:09 +00:00
}else{
2022-09-03 02:27:00 +00:00
_FUNC_SCASE_STRING_T=qbs_new(oldstr3711->len,0);
2022-08-26 14:13:09 +00:00
}
2022-09-03 02:27:00 +00:00
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3711->chr,oldstr3711->len);
2022-08-26 14:13:09 +00:00
}