r13234 - software/ui/src

Petter Reinholdtsen pere at alioth.debian.org
Sun Feb 12 06:28:02 UTC 2012


Author: pere
Date: 2012-02-12 06:28:02 +0000 (Sun, 12 Feb 2012)
New Revision: 13234

Modified:
   software/ui/src/goplay.cpp
Log:
Typo in startonclick support.

Modified: software/ui/src/goplay.cpp
===================================================================
--- software/ui/src/goplay.cpp	2012-02-12 05:35:58 UTC (rev 13233)
+++ software/ui/src/goplay.cpp	2012-02-12 06:28:02 UTC (rev 13234)
@@ -341,7 +341,7 @@
 			std::string line;
 			std::getline (pkglist,line);
 			if (0 == line.find("/usr/share/applications/")
-			    && 0 < line.find(".desktop")) {
+			    && line.npos != line.find(".desktop")) {
 				std::cout << line << endl;
 				desktoplist.push_back(line);
 			}




More information about the Pkg-games-commits mailing list