diff options
-rw-r--r-- | Source/cmakewizard.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx index 8ac55d9..bac403a 100644 --- a/Source/cmakewizard.cxx +++ b/Source/cmakewizard.cxx @@ -71,12 +71,9 @@ bool cmakewizard::AskAdvanced() { buffer[0] = 0; } - if(buffer[0]) + else if(buffer[0] == 'y' || buffer[0] == 'Y') { - if(buffer[0] == 'y' || buffer[0] == 'Y') - { - return true; - } + return true; } return false; } |