1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 13:55:14 +00:00
qb64/internal/source/data45.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

11 lines
420 B
Plaintext

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