nitdoc: correctly display the package path before the package name
authorJean Privat <jean@pryen.org>
Fri, 8 Jan 2010 22:20:48 +0000 (17:20 -0500)
committerJean Privat <jean@pryen.org>
Thu, 14 Jan 2010 16:43:40 +0000 (11:43 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

src/nitdoc.nit

index 168689c..7d4358d 100644 (file)
@@ -554,7 +554,7 @@ redef class MMSrcModule
                dctx.add("<h1>Module {self}</h1>\n<dl>")
                var s = ""
                var d: nullable MMDirectory = directory
-               while d == null do
+               while d != null do
                        if d.owner != null and (d.owner != self or dctx.inside_mode or dctx.intrude_mode) then
                                s = "{d.owner.html_link(dctx)}::{s}"
                        end