mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 10:40:17 +00:00
_SNDRAW/etc C++ compilation problem fixed _FULLSCREEN ... , _SMOOTH _MEM.type new format _MEM.image $RESIZE:ON resized=_RESIZE x=_RESIZEWIDTH y=_RESIZEHEIGHT
15 lines
588 B
Text
15 lines
588 B
Text
int32 *_FUNC_IDENEWTXT_LONG_IDENEWTXT=NULL;
|
|
if(_FUNC_IDENEWTXT_LONG_IDENEWTXT==NULL){
|
|
_FUNC_IDENEWTXT_LONG_IDENEWTXT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDENEWTXT_LONG_IDENEWTXT=0;
|
|
}
|
|
qbs*oldstr3988=NULL;
|
|
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
|
|
oldstr3988=_FUNC_IDENEWTXT_STRING_A;
|
|
if (oldstr3988->cmem_descriptor){
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr3988->len,0);
|
|
}else{
|
|
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr3988->len,0);
|
|
}
|
|
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr3988->chr,oldstr3988->len);
|
|
}
|