Don't do dwarf moves after a fallback command.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 15 Jun 2017 20:54:29 +0000 (16:54 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 15 Jun 2017 20:54:29 +0000 (16:54 -0400)
Avoids a crash bug.

main.c

diff --git a/main.c b/main.c
index 3d4962ab9e6433117ae53358ab21ce5be2d6053e..5b35f6fa633b6b9159e00bdccb3ab77525456756 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1058,7 +1058,7 @@ static bool do_command(FILE *cmdin)
        if (i == -1) {
            /* Gee, I don't understand. */
            if (fallback_handler(rawbuf))
        if (i == -1) {
            /* Gee, I don't understand. */
            if (fallback_handler(rawbuf))
-               return true;
+               continue;
            SETPRM(1,WD1,WD1X);
            RSPEAK(DONT_KNOW);
            goto L2600;
            SETPRM(1,WD1,WD1X);
            RSPEAK(DONT_KNOW);
            goto L2600;