mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-17 03:13:55 +00:00
ba7f80e361
This reverts commit ad0e5e4ef3
.
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*oldstr3515=NULL;
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
|
oldstr3515=_FUNC_SCASE_STRING_T;
|
|
if (oldstr3515->cmem_descriptor){
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3515->len,0);
|
|
}else{
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3515->len,0);
|
|
}
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3515->chr,oldstr3515->len);
|
|
}
|