src/addObjectDialog.cc

changeset 864
34033bc2ffb6
parent 861
83426c5fa732
child 882
2f3cc8e045d5
--- a/src/addObjectDialog.cc	Sun Aug 24 01:42:46 2014 +0300
+++ b/src/addObjectDialog.cc	Sat Aug 30 14:54:10 2014 +0300
@@ -355,7 +355,7 @@
 		case OBJ_BFC:
 		{
 			LDBFCPtr bfc = InitObject<LDBFC> (obj);
-			assert (within (dlg.rb_bfcType->value(), 0, int (BFCStatement::NumValues) - 1));
+			assert (IsWithin (dlg.rb_bfcType->value(), 0, int (BFCStatement::NumValues) - 1));
 			bfc->setStatement (BFCStatement (dlg.rb_bfcType->value()));
 		} break;
 

mercurial