Centralise the program name into the main header file. I'm probably
[sgt/agedu] / html.c
diff --git a/html.c b/html.c
index f7f8c3e..7633dec 100644 (file)
--- a/html.c
+++ b/html.c
@@ -425,7 +425,7 @@ char *html_query(const void *t, unsigned long index,
      */
     htprintf(ctx, "<head>\n");
     trie_getpath(t, index, path);
-    htprintf(ctx, "<title>agedu: ");
+    htprintf(ctx, "<title>%s: ", PNAME);
     htescape(ctx, path, strlen(path), 0);
     htprintf(ctx, "</title>\n");
     htprintf(ctx, "</head>\n");