Fixes build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37453 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-07-10 08:36:42 +00:00
parent db22cdca2f
commit aac2f1f73a

View File

@ -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<BFile*>(fDataIO);
return fDataIO == NULL || file != NULL && file->InitCheck() != B_OK;
return fDataIO == NULL || (file != NULL && file->InitCheck() != B_OK);
}