mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 14:00:17 +00:00
12 lines
466 B
Text
12 lines
466 B
Text
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
|
qbs*oldstr3753=NULL;
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
|
oldstr3753=_FUNC_SCASE_STRING_T;
|
|
if (oldstr3753->cmem_descriptor){
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3753->len,0);
|
|
}else{
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3753->len,0);
|
|
}
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3753->chr,oldstr3753->len);
|
|
}
|