Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > d0795971d430fca48245910ae9206e46 > files > 10

kdeutils-3.5.10-alt2.M41.1.src.rpm

--- kdeutils-3.5.8/ark/rar.cpp~	2007-10-17 20:32:52 +0400
+++ kdeutils-3.5.8/ark/rar.cpp	2007-10-31 14:53:05 +0300
@@ -275,7 +275,7 @@ void RarArch::unarchFileInternal()
 
 bool RarArch::passwordRequired()
 {
-    return m_lastShellOutput.findRev("password incorrect ?)")+1;
+    return m_lastShellOutput.find("Enter password") >= 0;
 }
 
 void RarArch::remove( QStringList *list )