1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 19:45:15 +00:00
qb64/internal/source/data105.txt
SMcNeill 3941732ed5 Push for Luke that fixes the CLOCK routine to stop massive IDE lag for LINUX users.
Also set name for new commands to _DESKTOPWIDTH, _DESKTOPHEIHT, _SCREENICON as the community seemed to prefer them.
2014-07-11 02:57:14 -04:00

16 lines
588 B
Plaintext

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*oldstr9043=NULL;
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
oldstr9043=_FUNC_IDENEWTXT_STRING_A;
if (oldstr9043->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr9043->len,0);
}else{
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr9043->len,0);
}
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr9043->chr,oldstr9043->len);
}