minor const fix
fluxgen fluxgen
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/FbTk/Menu.cc
→
src/FbTk/Menu.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@
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;