mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
12 lines
530 B
Text
12 lines
530 B
Text
qbs *_FUNC_ADDQUOTES_STRING_ADDQUOTES=NULL;
|
|
if (!_FUNC_ADDQUOTES_STRING_ADDQUOTES)_FUNC_ADDQUOTES_STRING_ADDQUOTES=qbs_new(0,0);
|
|
qbs*oldstr3804=NULL;
|
|
if(_FUNC_ADDQUOTES_STRING_S->tmp||_FUNC_ADDQUOTES_STRING_S->fixed||_FUNC_ADDQUOTES_STRING_S->readonly){
|
|
oldstr3804=_FUNC_ADDQUOTES_STRING_S;
|
|
if (oldstr3804->cmem_descriptor){
|
|
_FUNC_ADDQUOTES_STRING_S=qbs_new_cmem(oldstr3804->len,0);
|
|
}else{
|
|
_FUNC_ADDQUOTES_STRING_S=qbs_new(oldstr3804->len,0);
|
|
}
|
|
memcpy(_FUNC_ADDQUOTES_STRING_S->chr,oldstr3804->chr,oldstr3804->len);
|
|
}
|