aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
authorUbitUmarov2019-10-24 17:30:24 +0100
committerUbitUmarov2019-10-24 17:30:24 +0100
commitbf2e0f77376b179edda608e9fd7b0e9738c83bb6 (patch)
treebc735bf6b8c534f07efcb4702ed842eb7fa52f38 /OpenSim/Framework/Console
parentpartial revert console Prompt code to fix it (diff)
downloadopensim-SC-bf2e0f77376b179edda608e9fd7b0e9738c83bb6.zip
opensim-SC-bf2e0f77376b179edda608e9fd7b0e9738c83bb6.tar.gz
opensim-SC-bf2e0f77376b179edda608e9fd7b0e9738c83bb6.tar.bz2
opensim-SC-bf2e0f77376b179edda608e9fd7b0e9738c83bb6.tar.xz
oops, dont ask things twice
Diffstat (limited to 'OpenSim/Framework/Console')
-rwxr-xr-xOpenSim/Framework/Console/ConsoleBase.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 75dbe11..8748b25 100755
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -163,9 +163,7 @@ namespace OpenSim.Framework.Console
163 { 163 {
164 itisdone = true; 164 itisdone = true;
165 165
166 ret = Prompt(p, def); 166 if (def == null)
167
168 if (def != null)
169 ret = ReadLine(String.Format("{0}: ", p), false, echo); 167 ret = ReadLine(String.Format("{0}: ", p), false, echo);
170 else 168 else
171 ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo); 169 ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo);