Fixes build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37453 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
db22cdca2f
commit
aac2f1f73a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user