tags 777888 + patch
thanks

Here's a fix for the GCC 5 build issue.  I added parentheses so the
logical not applies to the whole comparison and not just the left
hand side.

--
Greg Pearson
Linux for HP Helion
--- a/libxdgutils/XDGDesktopEntry.cpp	2015-07-07 18:50:07.661990020 +0000
+++ b/libxdgutils/XDGDesktopEntry.cpp	2015-07-07 18:51:36.149993111 +0000
@@ -468,7 +468,7 @@
 
     // Now find missing required keys
     for(i = 0; registeredEntries[i].name != NULL; i++) {
-	if (!registeredEntries[i].type & type)
+	if (!(registeredEntries[i].type & type))
 	    continue;
 
 	if (registeredEntries[i].required) {

Reply via email to