src/c2html.c

changeset 2
3bced1fe9193
parent 1
12c482ea4fc4
child 4
323f674931fe
--- a/src/c2html.c	Fri May 24 13:35:06 2013 +0200
+++ b/src/c2html.c	Fri May 24 13:53:52 2013 +0200
@@ -133,8 +133,8 @@
     if (inputfile) {
       printf("<pre>\n");
       for (int i = 0 ; i < inputfile->count ; i++) {
-        printf("%*d: %s\n", lnw(inputfile->count),
-            i, inputfile->lines[i]);
+        printf("<span class=\"c2html-lineno\">%*d:</span> %s\n",
+            lnw(inputfile->count), i, inputfile->lines[i]);
       }
       printf("</pre>\n");
       freeinputfilebuffer(inputfile);

mercurial