setCandidate accept candidates with compatible architectures too. Not
authorStefan Schubert <schubi@suse.de>
Tue, 16 May 2006 12:01:08 +0000 (12:01 +0000)
committerStefan Schubert <schubi@suse.de>
Tue, 16 May 2006 12:01:08 +0000 (12:01 +0000)
only with the same architecture. Bug 172594 - If update package has
differet arch, UI display is wrong

zypp/ui/SelectableImpl.cc

index a5da628..8a26640 100644 (file)
@@ -223,7 +223,7 @@ namespace zypp
               for ( availableItem_const_iterator it = availableBegin();
                     it != availableEnd(); ++it )
                 {
-                  if ( installedObj()->arch() == (*it)->arch() )
+                  if ( installedObj()->arch().compatibleWith( (*it)->arch() ))
                     _candidate = *it;
                   break;
                 }