--- ark/rar.cpp~	2007-03-23 18:29:23.000000000 +0100
+++ ark/rar.cpp	2007-03-23 18:30:08.000000000 +0100
@@ -267,7 +267,12 @@
 
 bool RarArch::passwordRequired()
 {
-    return m_lastShellOutput.findRev("password incorrect ?)")+1;
+    if( m_lastShellOutput.findRev("password incorrect") ||
+        m_lastShellOutput.findRev("Enter password")
+      )
+        return true;
+    else
+        return false;
 }
 
 void RarArch::remove( QStringList *list )

