From eb3ff46eaa94c123f7874e2b9e97f5796db9f904 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 12 Aug 2014 15:16:37 +0200 Subject: [PATCH] installer: Fix filesystem selection. When the user selected the OK button, the installation aborted instead of continuing. --- src/installer/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer/main.c b/src/installer/main.c index ad4e0c54b2..77c1d67d73 100644 --- a/src/installer/main.c +++ b/src/installer/main.c @@ -523,7 +523,7 @@ int main(int argc, char *argv[]) { rc = newtWinMenu(_("Filesystem Selection"), _("Please choose your filesystem:"), 50, 5, 5, 6, fs_names, &fs_choice, _("OK"), _("Cancel"), NULL); - if (rc != 1) + if (rc == 2) goto EXIT; destination->filesystem = filesystems[fs_choice].fstype; -- 2.39.2