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