mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-20 22:05:15 +00:00
Also set name for new commands to _DESKTOPWIDTH, _DESKTOPHEIHT, _SCREENICON as the community seemed to prefer them.
11 lines
399 B
Plaintext
11 lines
399 B
Plaintext
qbs*oldstr9670=NULL;
|
|
if(_SUB_GIVE_ERROR_STRING_A->tmp||_SUB_GIVE_ERROR_STRING_A->fixed||_SUB_GIVE_ERROR_STRING_A->readonly){
|
|
oldstr9670=_SUB_GIVE_ERROR_STRING_A;
|
|
if (oldstr9670->cmem_descriptor){
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new_cmem(oldstr9670->len,0);
|
|
}else{
|
|
_SUB_GIVE_ERROR_STRING_A=qbs_new(oldstr9670->len,0);
|
|
}
|
|
memcpy(_SUB_GIVE_ERROR_STRING_A->chr,oldstr9670->chr,oldstr9670->len);
|
|
}
|