From: Allan Rae Date: Mon, 2 Oct 2000 06:11:02 +0000 (+0000) Subject: missing break; and put a '}' where it should be X-Git-Tag: 1.6.10~21950 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=eb1be4a02bd3876c11f3a875e16cba3cf6b28e28;p=features.git missing break; and put a '}' where it should be git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1066 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index 9305c4246c..742bbaa69e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-10-02 Allan Rae + * src/lyxfunc.C (Dispatch): missing break; and moved the '}' for + LFUN_UNKNOWN_ACTION: so it doesn't wrap around default:. + * src/frontends/xforms/FormPreferences.[Ch] (restore): D'oh. Left this one out by accident. diff --git a/src/lyxfunc.C b/src/lyxfunc.C index cad787a855..8b4e13d497 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -2921,6 +2921,7 @@ string const LyXFunc::Dispatch(int ac, // a zoom change. textcache.clear(); } + break; case LFUN_SET_COLOR: { @@ -3000,10 +3001,11 @@ string const LyXFunc::Dispatch(int ac, setErrorMessage(N_("Unknown action")); } break; + } + default: lyxerr << "A truly unknown func!" << endl; break; - } } // end of switch exit_with_message: