mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-01 16:20:17 +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*oldstr3726=NULL;
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
|
oldstr3726=_FUNC_SCASE_STRING_T;
|
|
if (oldstr3726->cmem_descriptor){
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3726->len,0);
|
|
}else{
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3726->len,0);
|
|
}
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3726->chr,oldstr3726->len);
|
|
}
|