diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2023-10-26 00:14:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 00:14:13 +0100 |
| commit | 54b1df79e786e6e814d581a73354fc955a33793e (patch) | |
| tree | 2d0ea6320825eeae58e23edb505780147dd44897 /appl/cmd | |
| parent | b0a842d1aa881afbcfa7ab66ccbff5d51c55dbbb (diff) | |
| parent | 7cd9eb429a364171e92469f87b9fc78681013509 (diff) | |
Merge pull request #3 from dboddie/fix-string-module-check-in-gunzip
Fixed String module load check in gunzip.
Diffstat (limited to 'appl/cmd')
| -rw-r--r-- | appl/cmd/gunzip.b | 2 |
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) |
