

Index: /home/cheetah/dev/doxygen/src/definition.cpp
===================================================================
--- /home/cheetah/dev/doxygen/src/definition.cpp	(revision 755)
+++ /home/cheetah/dev/doxygen/src/definition.cpp	(working copy)
@@ -1356,14 +1356,14 @@
   ol.writeString("  <div id=\"nav-path\" class=\"navpath\">\n");
   ol.writeString("    <ul>\n");
   writePathFragment(ol);
-  if (!hasCustomFooter)
+  if (!hasCustomFooter && generateTreeView)
   {
-    if (generateTreeView) // write the doxygen logo as part of the navigation bar
-    {
-      ol.writeString("      <li class=\"footer\">");
-      ol.writeLogo();
-      ol.writeString("</li>\n");
-    }
+    ol.writeString("      <li class=\"footer\">");
+    ol.writeLogo();
+    ol.writeString("</li>\n");
+  }
+  
+  if (!hasCustomFooter || !generateTreeView) {
     ol.writeString("    </ul>\n");
     ol.writeString("  </div>\n");
   }
