mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 03:15:07 +00:00
10 lines
462 B
Text
10 lines
462 B
Text
qbs*oldstr5762=NULL;
|
|
if(_SUB_SETSTATUSMESSAGE_STRING_TEXT->tmp||_SUB_SETSTATUSMESSAGE_STRING_TEXT->fixed||_SUB_SETSTATUSMESSAGE_STRING_TEXT->readonly){
|
|
oldstr5762=_SUB_SETSTATUSMESSAGE_STRING_TEXT;
|
|
if (oldstr5762->cmem_descriptor){
|
|
_SUB_SETSTATUSMESSAGE_STRING_TEXT=qbs_new_cmem(oldstr5762->len,0);
|
|
}else{
|
|
_SUB_SETSTATUSMESSAGE_STRING_TEXT=qbs_new(oldstr5762->len,0);
|
|
}
|
|
memcpy(_SUB_SETSTATUSMESSAGE_STRING_TEXT->chr,oldstr5762->chr,oldstr5762->len);
|
|
}
|