From e460cf2dc0d41722c14249c75b440aae82c34ed9 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 13 May 2003 00:24:26 +0000 Subject: minor const fix --- src/FbTk/Menu.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 199a3eb..302e552 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.20 2003/05/04 10:34:09 fluxgen Exp $ +// $Id: Menu.cc,v 1.21 2003/05/13 00:24:26 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE @@ -920,7 +920,7 @@ void Menu::setItemEnabled(unsigned int index, bool enable) { bool Menu::isItemEnabled(unsigned int index) const { if (index >= menuitems.size()) return false; - MenuItem *item = find(index); + const MenuItem *item = find(index); if (!item) return false; -- cgit v0.11.2