diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2008-04-20 12:20:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2008-04-20 12:20:52 +0200 |
commit | d96fc32d1dcae224b320918c96153574fbd5ed5e (patch) | |
tree | d9d972a39fc66f998059b585240ed43d395e07ef /stream/stm_open.c | |
parent | 704339802c88bc470187bd77c4680d19108dab0b (diff) | |
download | mupdf-d96fc32d1dcae224b320918c96153574fbd5ed5e.tar.xz |
Adhere to common idiom when not encoundering error.
Diffstat (limited to 'stream/stm_open.c')
-rw-r--r-- | stream/stm_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stm_open.c b/stream/stm_open.c index c10d1509..908b1a7b 100644 --- a/stream/stm_open.c +++ b/stream/stm_open.c @@ -18,7 +18,7 @@ newstm(int kind, int mode) stm->kind = kind; stm->mode = mode; stm->dead = 0; - stm->error = nil; + stm->error = fz_okay; stm->buffer = nil; stm->chain = nil; |