diff --git a/src/kits/print/PrintTransport.cpp b/src/kits/print/PrintTransport.cpp index 5cc61a06d6..fbaf87e036 100644 --- a/src/kits/print/PrintTransport.cpp +++ b/src/kits/print/PrintTransport.cpp @@ -129,5 +129,5 @@ bool PrintTransport::IsPrintToFileCanceled() const // The BeOS "Print To File" transport add-on returns a non-NULL BDataIO * // even after user filepanel cancellation! BFile* file = dynamic_cast(fDataIO); - return fDataIO == NULL || file != NULL && file->InitCheck() != B_OK; + return fDataIO == NULL || (file != NULL && file->InitCheck() != B_OK); }