diff options
Diffstat (limited to 'src/askpass/tdesvn-askpass.cpp')
-rw-r--r-- | src/askpass/tdesvn-askpass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/askpass/tdesvn-askpass.cpp b/src/askpass/tdesvn-askpass.cpp index a744c81..1b03eee 100644 --- a/src/askpass/tdesvn-askpass.cpp +++ b/src/askpass/tdesvn-askpass.cpp @@ -52,10 +52,10 @@ int main(int argc, char** argv) } else { prompt = TDECmdLineArgs::parsedArgs()->arg(0); } - TQCString pw; + TQString pw; KPasswordDialog::disableCoreDumps(); if (KPasswordDialog::getPassword(pw,prompt,0)==KPasswordDialog::Accepted) { - std::cout << pw.data() << std::endl; + std::cout << pw.local8Bit().data() << std::endl; /* cleanup memory */ pw.replace(0,pw.length(),"0"); return 0; |