Document execute()'s subtle use of player->aborted
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 18 Mar 2012 18:07:47 +0000 (19:07 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 26 Apr 2012 17:57:19 +0000 (19:57 +0200)
src/lib/player/player.c

index 2a489392d4f482f09f0794eb3b44a76e72f2e1ef..b2f2c46240e1bb29133a28b140a8c0553cb1e06c 100644 (file)
@@ -261,6 +261,7 @@ execute(void)
            failed = 1;
        } else if (dispatch(player->combuf, NULL) < 0)
            failed = 1;
+       /* player->aborted not reset; makes next getcommand() fail */
        empth_yield();
     }
     if (failed) {