1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-16 17:54:16 +00:00
QB64-PE/internal/source/data152.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

12 lines
517 B
Text

qbs *_FUNC_COMPRESS_STRING_COMPRESS=NULL;
if (!_FUNC_COMPRESS_STRING_COMPRESS)_FUNC_COMPRESS_STRING_COMPRESS=qbs_new(0,0);
qbs*oldstr9548=NULL;
if(_FUNC_COMPRESS_STRING_A->tmp||_FUNC_COMPRESS_STRING_A->fixed||_FUNC_COMPRESS_STRING_A->readonly){
oldstr9548=_FUNC_COMPRESS_STRING_A;
if (oldstr9548->cmem_descriptor){
_FUNC_COMPRESS_STRING_A=qbs_new_cmem(oldstr9548->len,0);
}else{
_FUNC_COMPRESS_STRING_A=qbs_new(oldstr9548->len,0);
}
memcpy(_FUNC_COMPRESS_STRING_A->chr,oldstr9548->chr,oldstr9548->len);
}