mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 06:45:09 +00:00
12 lines
478 B
Text
12 lines
478 B
Text
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
|
qbs*oldstr3692=NULL;
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
|
oldstr3692=_FUNC_SCASE_STRING_T;
|
|
if (oldstr3692->cmem_descriptor){
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3692->len,0);
|
|
}else{
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3692->len,0);
|
|
}
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3692->chr,oldstr3692->len);
|
|
}
|