r4992 - software/ui/src

Peter De Wachter pdewacht-guest at alioth.debian.org
Mon Dec 17 21:54:25 UTC 2007


Author: pdewacht-guest
Date: 2007-12-17 21:54:25 +0000 (Mon, 17 Dec 2007)
New Revision: 4992

Modified:
   software/ui/src/goplay.cpp
Log:
behave even if popcon data is missing for some packages


Modified: software/ui/src/goplay.cpp
===================================================================
--- software/ui/src/goplay.cpp	2007-12-17 21:39:42 UTC (rev 4991)
+++ software/ui/src/goplay.cpp	2007-12-17 21:54:25 UTC (rev 4992)
@@ -242,7 +242,7 @@
 
 		string desc = string(fmtstr) + rec.package() + "\t" + 
 			string(fmtstr) + rec.shortDescription();
-		if (engine.popcon().hasData())
+		if (engine.popcon().hasData() && i->popcon)
 		{
 			desc += "\t" + string(fmtstr);
 			char stars[16];




More information about the Pkg-games-commits mailing list