mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-16 05:03:52 +00:00
13 lines
556 B
Text
13 lines
556 B
Text
|
qbs *_FUNC_WIKIGETLINE_STRING_WIKIGETLINE=NULL;
|
||
|
if (!_FUNC_WIKIGETLINE_STRING_WIKIGETLINE)_FUNC_WIKIGETLINE_STRING_WIKIGETLINE=qbs_new(0,0);
|
||
|
qbs*oldstr5596=NULL;
|
||
|
if(_FUNC_WIKIGETLINE_STRING_A->tmp||_FUNC_WIKIGETLINE_STRING_A->fixed||_FUNC_WIKIGETLINE_STRING_A->readonly){
|
||
|
oldstr5596=_FUNC_WIKIGETLINE_STRING_A;
|
||
|
if (oldstr5596->cmem_descriptor){
|
||
|
_FUNC_WIKIGETLINE_STRING_A=qbs_new_cmem(oldstr5596->len,0);
|
||
|
}else{
|
||
|
_FUNC_WIKIGETLINE_STRING_A=qbs_new(oldstr5596->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_WIKIGETLINE_STRING_A->chr,oldstr5596->chr,oldstr5596->len);
|
||
|
}
|