* fix typo in calculation of static directory / local css
authorWilfried Göesgens <willi@citadel.org>
Sun, 12 Jul 2009 13:49:40 +0000 (13:49 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 12 Jul 2009 13:49:40 +0000 (13:49 +0000)
webcit/webcit.c

index e89d2e97bf130e839ee8d75e3ed3394f95288740..5779dbd6969c7a9e6705ea8667eb6e660d73bd83 100644 (file)
@@ -793,7 +793,7 @@ InitModule_WEBCIT
        RegisterNamespace("IMPORTANTMESSAGE", 0, 0, tmplput_importantmessage, CTX_NONE);
        RegisterNamespace("TRAILING_JAVASCRIPT", 0, 0, tmplput_trailing_javascript, CTX_NONE);
 
-       snprintf(dir, SIZ, "%s/static.local/webcit.css", static_local_dir);
+       snprintf(dir, SIZ, "%s/webcit.css", static_local_dir);
        if (!access(dir, R_OK)) {
                lprintf(9, "Using local Stylesheet [%s]\n", dir);
                csslocal = NewStrBufPlain(HKEY("<link href=\"static.local/webcit.css\" rel=\"stylesheet\" type=\"text/css\">"));