X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FError.cc;h=485a7cb479c06027fb74730df2f89fffcfe75e0e;hb=7aac8dc8533347e21311b15186e0af82f1b22fd6;hp=0dc8150591d7afca559d4ea4bd66fbc3b5b03e07;hpb=50e9d31c05e9ca11ad43cc570556094782c1b956;p=evince.git diff --git a/pdf/xpdf/Error.cc b/pdf/xpdf/Error.cc index 0dc81505..485a7cb4 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; } }