1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-04 16:30:25 +00:00
QB64-PE/internal/source/data106.txt

13 lines
466 B
Text
Raw Normal View History

2023-02-13 12:57:38 +00:00
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
2023-04-25 22:01:53 +00:00
qbs*oldstr3756=NULL;
2023-02-13 12:57:38 +00:00
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
2023-04-25 22:01:53 +00:00
oldstr3756=_FUNC_SCASE_STRING_T;
if (oldstr3756->cmem_descriptor){
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3756->len,0);
2022-08-26 14:13:09 +00:00
}else{
2023-04-25 22:01:53 +00:00
_FUNC_SCASE_STRING_T=qbs_new(oldstr3756->len,0);
2022-08-26 14:13:09 +00:00
}
2023-04-25 22:01:53 +00:00
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3756->chr,oldstr3756->len);
2022-08-26 14:13:09 +00:00
}