diff options
author | UbitUmarov | 2019-10-24 17:30:24 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-24 17:30:24 +0100 |
commit | bf2e0f77376b179edda608e9fd7b0e9738c83bb6 (patch) | |
tree | bc735bf6b8c534f07efcb4702ed842eb7fa52f38 /OpenSim/Framework/Console | |
parent | partial revert console Prompt code to fix it (diff) | |
download | opensim-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-x | OpenSim/Framework/Console/ConsoleBase.cs | 4 |
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); |