ref: refs/heads/master
commit b15b1629ba872d4c972e46e1a69a3f03e916a560
Author: Ján Kupec
Date: Tue Mar 17 12:31:26 2009 +0100
minor fix
---
src/utils/prompt.cc | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/utils/prompt.cc b/src/utils/prompt.cc
index 961b4ab..cbab44b 100644
--- a/src/utils/prompt.cc
+++ b/src/utils/prompt.cc
@@ -86,12 +86,14 @@ const string PromptOptions::optionString() const
}
if (!_options.empty() && shown_count)
+ {
option_str << "]";
- // default option
- option_str << " (";
- fprint_color(option_str, _options[_default], COLOR_CONTEXT_PROMPT_OPTION);
- option_str << ")";
+ // default option
+ option_str << " (";
+ fprint_color(option_str, _options[_default], COLOR_CONTEXT_PROMPT_OPTION);
+ option_str << ")";
+ }
return option_str.str();
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org