From 1bc30e42eb7731d8e44ba5a0b75f55572ac4d042 Mon Sep 17 00:00:00 2001 From: keie Date: Fri, 25 Jan 1985 14:40:51 +0000 Subject: [PATCH] Strings in rom are initialized with usage count 9999. decstr does not touch these at all. --- lang/basic/lib/string.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/basic/lib/string.c b/lang/basic/lib/string.c index 5f7d2fa36..0aa8fde58 100644 --- a/lang/basic/lib/string.c +++ b/lang/basic/lib/string.c @@ -36,6 +36,8 @@ _decstr(str) String *str; { ok(str); + /* Strings in ROM are initialized with this count */ + if ( str->strcount==9999 ) return ; str->strcount--; if(str->strcount<=0) _delstr(str); }