]> git.mxchange.org Git - flightgear.git/commitdiff
(untested) last-minute changes are evil! :-)
authormfranz <mfranz>
Mon, 7 May 2007 14:37:38 +0000 (14:37 +0000)
committermfranz <mfranz>
Mon, 7 May 2007 14:37:38 +0000 (14:37 +0000)
src/GUI/property_list.cxx

index 6fd2736333525f8c45db0d629fc109edf7b9f459..759a0786ad81ed819b4bcec7b5f59ed610316533 100644 (file)
@@ -336,7 +336,7 @@ void PropertyList::updateTextForEntry(NodeData& data)
             int num = node->nListeners();
             if (data.listener)
                 num--;
-            if (lst)
+            if (num)
                 line << ", L" << num;
         }
         line << ')';