]> git.ozlabs.org Git - petitboot/blobdiff - petitboot.c
Version 0.2
[petitboot] / petitboot.c
index 6f2a386fe90cbc021fc4317b3d618eccb027add7..ee6893032e6d033be6ddd9d6e8cac16c68a2695c 100644 (file)
@@ -795,9 +795,8 @@ twin_bool_t pboot_event_filter(twin_screen_t            *screen,
                /* Another gross hack for booting back to gameos */
                case KEY_BACKSPACE:
                case KEY_DELETE:
-                       pboot_message("booting to GameOS");
+                       pboot_message("booting to GameOS...");
                        system(BOOT_GAMEOS_BIN);
-                       pboot_quit();
                }
        case TwinEventKeyUp:
                twin_screen_set_cursor(pboot_screen, NULL, 0, 0);
@@ -942,7 +941,7 @@ void pboot_message(const char *fmt, ...)
                           0, 0,
                           pboot_spane->window->pixmap->width,
                           pboot_spane->window->pixmap->height);
-       twin_window_queue_paint(pboot_spane->window);
+       twin_window_draw(pboot_spane->window);
 }
 
 static void pboot_create_spane(void)