fixed for-loop

This commit is contained in:
fluxgen 2002-04-12 13:02:56 +00:00
parent c25795a910
commit 7d8560db64

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: fluxbox.cc,v 1.49 2002/04/09 23:14:25 fluxgen Exp $
// $Id: fluxbox.cc,v 1.50 2002/04/12 13:02:56 fluxgen Exp $
//Use some GNU extensions
#ifndef _GNU_SOURCE
@ -2344,9 +2344,9 @@ void Fluxbox::real_rereadMenu(void) {
}
menuTimestamps.erase(menuTimestamps.begin(), menuTimestamps.end());
std::list<BScreen *>::iterator sit = screenList.begin();
std::list<BScreen *>::iterator sit_end = screenList.end();
for (; sit != sit_end; ++it) {
ScreenList::iterator sit = screenList.begin();
ScreenList::iterator sit_end = screenList.end();
for (; sit != sit_end; ++sit) {
(*sit)->rereadMenu();
}
}