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