1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-04 22:20: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-05-22 19:46:34 +00:00
qbs*oldstr3757=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-05-22 19:46:34 +00:00
oldstr3757=_FUNC_SCASE_STRING_T;
if (oldstr3757->cmem_descriptor){
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3757->len,0);
2022-08-26 14:13:09 +00:00
}else{
2023-05-22 19:46:34 +00:00
_FUNC_SCASE_STRING_T=qbs_new(oldstr3757->len,0);
2022-08-26 14:13:09 +00:00
}
2023-05-22 19:46:34 +00:00
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3757->chr,oldstr3757->len);
2022-08-26 14:13:09 +00:00
}