all repos — fluxbox @ affd3c2afb1b304e470c090375d12ab56ac466da

custom fork of the fluxbox windowmanager

fixed erase bug
fluxgen fluxgen
commit

affd3c2afb1b304e470c090375d12ab56ac466da

parent

83352ec53a989bf5d4db05ef334cd42d4338756b

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

jump to
M src/Basemenu.ccsrc/Basemenu.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: Basemenu.cc,v 1.9 2002/02/08 13:20:23 fluxgen Exp $ +// $Id: Basemenu.cc,v 1.10 2002/02/08 13:47:11 fluxgen Exp $ // stupid macros needed to access some functions in version 2 of the GNU C // library

@@ -238,7 +238,7 @@

int Basemenu::remove(int index) { if (index < 0 || index > menuitems.size()) return -1; - Menuitems::iterator it = menuitems.erase(menuitems.begin() + index); + Menuitems::iterator it = menuitems.begin() + index; BasemenuItem *item = (*it); if (item) {