mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
10 lines
452 B
Text
10 lines
452 B
Text
qbs*oldstr6291=NULL;
|
|
if(_SUB_SETSTATUSMESSAGE_STRING_TEXT->tmp||_SUB_SETSTATUSMESSAGE_STRING_TEXT->fixed||_SUB_SETSTATUSMESSAGE_STRING_TEXT->readonly){
|
|
oldstr6291=_SUB_SETSTATUSMESSAGE_STRING_TEXT;
|
|
if (oldstr6291->cmem_descriptor){
|
|
_SUB_SETSTATUSMESSAGE_STRING_TEXT=qbs_new_cmem(oldstr6291->len,0);
|
|
}else{
|
|
_SUB_SETSTATUSMESSAGE_STRING_TEXT=qbs_new(oldstr6291->len,0);
|
|
}
|
|
memcpy(_SUB_SETSTATUSMESSAGE_STRING_TEXT->chr,oldstr6291->chr,oldstr6291->len);
|
|
}
|