diff options
-rw-r--r-- | kommander/widget/functionlib.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/widget/functionlib.cpp b/kommander/widget/functionlib.cpp index cd7b6f4c..b0579897 100644 --- a/kommander/widget/functionlib.cpp +++ b/kommander/widget/functionlib.cpp @@ -717,11 +717,11 @@ static ParseNode f_inputText(Parser*, const ParameterList& params) static ParseNode f_inputPassword(Parser*, const ParameterList& params) { - TQCString value; + TQString value; if (params.count() > 1) - value = params[1].toString().local8Bit(); + value = params[1].toString(); KPasswordDialog::getPassword(value, params[0].toString()); - return TQString(TQString::fromLocal8Bit(value)); + return value; } static ParseNode f_inputValue(Parser*, const ParameterList& params) |