summaryrefslogtreecommitdiffstats
path: root/kdepasswd/passwd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdepasswd/passwd.cpp')
-rw-r--r--kdepasswd/passwd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdepasswd/passwd.cpp b/kdepasswd/passwd.cpp
index 6e3bb223f..89bbbdf82 100644
--- a/kdepasswd/passwd.cpp
+++ b/kdepasswd/passwd.cpp
@@ -158,7 +158,7 @@ int PasswdProcess::ConversePasswd(const char *oldpass, const char *newpass,
case 2:
m_Error = "";
- if( line.tqcontains("again"))
+ if( line.contains("again"))
{
m_Error = line;
kill(m_Pid, SIGKILL);
@@ -278,7 +278,7 @@ bool PasswdProcess::isPrompt(TQCString line, const char *word)
return false;
if (word == 0L)
return true;
- return line.tqcontains(word, false);
+ return line.contains(word, false);
}