X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFuncStatus.C;h=5e7133c740199fb0f6fa5ab93c0a9a7e0ca3c427;hb=98c966c64594611e469313314abd1e59524adb4a;hp=f820ce2afe0620815a8ce460bf9ff1e5c3c8d50b;hpb=e49241e1e5c417ea2da300b1e22a16fe6c49060e;p=lyx.git diff --git a/src/FuncStatus.C b/src/FuncStatus.C index f820ce2afe..5e7133c740 100644 --- a/src/FuncStatus.C +++ b/src/FuncStatus.C @@ -1,8 +1,8 @@ /* This file is part of - * ====================================================== - * + * ====================================================== + * * LyX, The Document Processor - * + * * Copyright 2001 The LyX Team. * * ====================================================== */ @@ -50,7 +50,7 @@ bool FuncStatus::unknown () const FuncStatus & FuncStatus::disabled (bool b) { if (b) - v_ |= DISABLED; + v_ |= DISABLED; else v_ &= !DISABLED; return *this; @@ -71,7 +71,7 @@ void FuncStatus::setOnOff (bool b) bool FuncStatus::onoff (bool b) const { - if (b) + if (b) return (v_ & ON); else return (v_ & OFF);