From c8be555d588c21c96b194ce33942212e3b7e3d9b Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 4 Jan 2007 14:32:37 +0000 Subject: [PATCH] fix wrong commit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16504 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfunc.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 5324f4b53c..77de336417 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -516,8 +516,10 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const if (inset) { FuncRequest fr(LFUN_INSET_MODIFY, cmd.argument()); FuncStatus fs; - // Every inset is supposed to handle this - BOOST_ASSERT(inset->getStatus(cur, fr, fs)); + if (!inset->getStatus(cur, fr, fs)) { + // Every inset is supposed to handle this + BOOST_ASSERT(false); + } flag |= fs; } else { FuncRequest fr(LFUN_INSET_INSERT, cmd.argument());