Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1540 for code/trunk/src/core


Ignore:
Timestamp:
Jun 5, 2008, 4:09:04 AM (17 years ago)
Author:
landauf
Message:

some console tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/Shell.cc

    r1535 r1540  
    3636
    3737#define SHELL_UPDATE_LISTENERS(function) \
    38     for (std::list<ShellListener*>::iterator it = this->listeners_.begin(); it != this->listeners_.end(); ++it) \
    39         (*it)->function()
     38    for (std::list<ShellListener*>::iterator it = this->listeners_.begin(); it != this->listeners_.end(); ) \
     39        (*(it++))->function()
    4040
    4141namespace orxonox
Note: See TracChangeset for help on using the changeset viewer.