Skip to content

Commit ba7db1a

Browse files
jayrod246benstone
authored andcommitted
Fix: Remove ternary expression on tribool
bug introduced in 185972e Cherry-picked from commit ff186be2 in jayrod246/3DMMForever Original pull request: foone/3DMMForever#57
1 parent 45cd936 commit ba7db1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kauai/src/docb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ tribool DOCB::_TQuerySave(bool fForce)
236236
{
237237
AssertThis(0);
238238

239-
return vpappb->TQuerySaveDoc(this, fForce) ? tYes : tNo;
239+
return vpappb->TQuerySaveDoc(this, fForce);
240240
}
241241

242242
/***************************************************************************

0 commit comments

Comments
 (0)