From d17e7b9b7c26e983fb52c39ff62db1ef534ea807 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Tue, 10 Mar 2026 00:10:55 +0900 Subject: [PATCH] fix filling --- src/classic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/classic.c b/src/classic.c index aa69778..623b363 100644 --- a/src/classic.c +++ b/src/classic.c @@ -224,6 +224,7 @@ void classic_body(FILE* out, const char* top, const char* title, xl_node_t* body size[0] = 0; + ws = 0; if(u_image_size(top, text, u_http_path, &ws, &hs)) { sprintf(size, " width=\"%d\" height=\"%d\"", ws, hs); } @@ -231,6 +232,7 @@ void classic_body(FILE* out, const char* top, const char* title, xl_node_t* body text = u_path(top, text); fprintf(out, " \"%s\"\n", link, text, name, size); + fprintf(out, " \n", top); free(text); }