monitor fixes (Johannes Schindelin)
[qemu] / monitor.c
index c39f3b2..27e2619 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -223,6 +223,7 @@ static void do_info_history (void)
         if (!str)
             break;
        term_printf("%d: '%s'\n", i, str);
+        i++;
     }
 }