X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9c2e863ec22ce552f1a2e06c6c9e3d77368b0e87..66cacd053ba900c8eb3b7962027370c84a97f990:/ui-view.c diff --git a/ui-view.c b/ui-view.c index 9d13be1..85e223c 100644 --- a/ui-view.c +++ b/ui-view.c @@ -8,7 +8,7 @@ #include "cgit.h" -void cgit_print_view(char *hex) +void cgit_print_view(const char *hex) { unsigned char sha1[20]; char type[20]; @@ -32,9 +32,8 @@ void cgit_print_view(char *hex) } buf[size] = '\0'; - html("

Object content

\n"); html("\n"); - htmlf("\n", type, hex, size); + htmlf("\n", type, hex, size); html("\n");
%s %s, %li bytes
%s %s, %li bytes
\n"); html_txt(buf); html("\n