diff options
author | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-09-18 20:32:18 (GMT) |
---|---|---|
committer | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-09-18 20:32:18 (GMT) |
commit | 7aac8dc8533347e21311b15186e0af82f1b22fd6 (patch) | |
tree | 02650bb02c8a1d8468c22f50ff151885d233016b /pdf/xpdf/Error.cc | |
parent | d99fb4f4acd14fcdbda968abd907547dcc7af40c (diff) |
Synched with Xpdf 0.92
this adds "decryption" support
testing this code after six weeks immediately gives me segfaults (image drawing) :-O
must have fixed that later without knowing :-O
Diffstat (limited to 'pdf/xpdf/Error.cc')
-rw-r--r-- | pdf/xpdf/Error.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pdf/xpdf/Error.cc b/pdf/xpdf/Error.cc index 0dc8150..485a7cb 100644 --- a/pdf/xpdf/Error.cc +++ b/pdf/xpdf/Error.cc @@ -17,9 +17,6 @@ #include "Params.h" #include "Error.h" -// Send error messages to /dev/tty instead of stderr. -GBool errorsToTTY = gFalse; - FILE *errFile; GBool errQuiet; @@ -27,8 +24,7 @@ void errorInit() { if (errQuiet) { errFile = NULL; } else { - if (!errorsToTTY || !(errFile = fopen("/dev/tty", "w"))) - errFile = stderr; + errFile = stderr; } } |