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