Strings in rom are initialized with usage count 9999.
decstr does not touch these at all.
This commit is contained in:
parent
e271d9bbb8
commit
1bc30e42eb
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ _decstr(str)
|
||||||
String *str;
|
String *str;
|
||||||
{
|
{
|
||||||
ok(str);
|
ok(str);
|
||||||
|
/* Strings in ROM are initialized with this count */
|
||||||
|
if ( str->strcount==9999 ) return ;
|
||||||
str->strcount--;
|
str->strcount--;
|
||||||
if(str->strcount<=0) _delstr(str);
|
if(str->strcount<=0) _delstr(str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue