diff --git a/source/ubinstall-gtk-page-switch.c b/source/ubinstall-gtk-page-switch.c index 4ea6dbe..d3746d6 100644 --- a/source/ubinstall-gtk-page-switch.c +++ b/source/ubinstall-gtk-page-switch.c @@ -45,7 +45,7 @@ enum YON_PAGES yon_page_get_next(main_window *widgets, enum YON_PAGES page){ break; // default:return YON_PAGE_WELCOME; } - return YON_PAGE_WELCOME; + return -1; } enum YON_PAGES yon_page_get_prev(enum YON_PAGES page){