all repos — fluxbox @ e460cf2dc0d41722c14249c75b440aae82c34ed9

custom fork of the fluxbox windowmanager

minor const fix
fluxgen fluxgen
commit

e460cf2dc0d41722c14249c75b440aae82c34ed9

parent

4e5ea3a83b8fda375159218d8ab947647aea7c81

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/FbTk/Menu.ccsrc/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;