Changed iterators from iter++ to ++iter

Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
This commit is contained in:
ridiculousfish
2012-03-01 14:56:34 -08:00
parent 5d18d60e3b
commit fd4df6f9bb
11 changed files with 171 additions and 48 deletions

View File

@@ -224,7 +224,7 @@ wcstring event_get_desc( const event_t *e )
#if 0
static void show_all_handlers(void) {
puts("event handlers:");
for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); iter++) {
for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); ++iter) {
const event_t *foo = *iter;
wcstring tmp = event_get_desc(foo);
printf(" handler now %ls\n", tmp.c_str());