[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 3/5] Prompt user for install method when going back to STEP_METHOD.



Ack.

On 02/10/2010 11:14 PM, David Cantrell wrote:
In STEP_DRIVER, if the user selects Back from the dialog saying no
devices of that type were found, we go back to STEP_LANG.  The problem
is that loaderData->method isn't reset to 1 in STEP_DRIVER when we go
back to STEP_METHOD.  That causes us to skip over the method selection
and since dir is still -1, we go back up to STEP_LANG.
---
  loader/loader.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 1729af1..b42eb71 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1399,6 +1399,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
                      break;
                  } else if (rc == 3) {
                      step = STEP_METHOD;
+                    loaderData->method = -1;
                      dir = -1;
                      break;
                  }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]