From 077a96f6dcd55efeb0e453b215115d904989e00c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 7 Feb 2019 01:07:14 -0500 Subject: Set class="hi" on

---
 bin/hi.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/hi.c b/bin/hi.c
index 59e6d467..49cdecad 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -36,8 +36,6 @@ enum Class {
 	ClassCount,
 };
 
-enum { SubsLen = 8 };
-
 struct Syntax {
 	enum Class class;
 	size_t subexp;
@@ -79,6 +77,7 @@ static regex_t compile(const char *pattern, int flags) {
 	errx(EX_SOFTWARE, "regcomp: %s: %s", buf, pattern);
 }
 
+enum { SubsLen = 8 };
 static void highlight(struct Language lang, enum Class *hi, const char *str) {
 	for (size_t i = 0; i < lang.len; ++i) {
 		struct Syntax syn = lang.syntax[i];
@@ -148,7 +147,7 @@ static void ansiOutput(enum Class class, const char *str, size_t len) {
 
 static void htmlHeader(const char *path) {
 	(void)path;
-	printf("
");
+	printf("
");
 }
 static void htmlFooter(const char *path) {
 	(void)path;
-- 
cgit 1.4.1