summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Boddie <david@boddie.org.uk>2023-08-08 15:55:47 +0000
committerCharles Forsyth <charles.forsyth@gmail.com>2023-08-08 15:55:47 +0000
commit1acfc925c1ab17e400f630f017155ac4316930a4 (patch)
tree864077f927eba70f1f77b8ee88a45339ee4c9e31
parent75323f4992b2b4e593bd2f548db9ac6897e894d3 (diff)
parentc43b652e5243bff25bbd85ea326c1f55a300a447 (diff)
Merged in fix-string-module-check-in-gunzip (pull request #16)HEADmaster
Fixed String module load check in gunzip. Approved-by: Charles Forsyth
-rw-r--r--appl/cmd/gunzip.b2
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/cmd/gunzip.b b/appl/cmd/gunzip.b
index 6cb9eaf8..06ccd4a5 100644
--- a/appl/cmd/gunzip.b
+++ b/appl/cmd/gunzip.b
@@ -34,7 +34,7 @@ init(nil: ref Draw->Context, argv: list of string)
if (bufio == nil)
fatal(sys->sprint("cannot load %s: %r", Bufio->PATH));
str = load String String->PATH;
- if (bufio == nil)
+ if (str == nil)
fatal(sys->sprint("cannot load %s: %r", String->PATH));
inflate = load Filter INFLATEPATH;
if (inflate == nil)