oops, dont ask things twice
parent
be6080c3c8
commit
bf2e0f7737
|
@ -163,9 +163,7 @@ namespace OpenSim.Framework.Console
|
||||||
{
|
{
|
||||||
itisdone = true;
|
itisdone = true;
|
||||||
|
|
||||||
ret = Prompt(p, def);
|
if (def == null)
|
||||||
|
|
||||||
if (def != null)
|
|
||||||
ret = ReadLine(String.Format("{0}: ", p), false, echo);
|
ret = ReadLine(String.Format("{0}: ", p), false, echo);
|
||||||
else
|
else
|
||||||
ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo);
|
ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo);
|
||||||
|
|
Loading…
Reference in New Issue