Commit ceff6ec5 authored by Nicolas Despres's avatar Nicolas Despres
Browse files

ccmake: Factor toggle key help instructions.

parent 19da1062
......@@ -427,15 +427,13 @@ void cmCursesMainForm::PrintKeys(int process /* = 0 */)
sprintf(firstLine, "Press [c] to configure ");
if (this->AdvancedMode)
sprintf(thirdLine, "Press [t] to toggle advanced mode (Currently On)");
sprintf(thirdLine, "Press [t] to toggle advanced mode (Currently Off)");
const char* toggleKeyInstruction =
"Press [t] to toggle advanced mode (Currently %s)";
this->AdvancedMode ? "On" : "Off");
"Press [h] for help "
"Press [q] to quit without generating");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment