From 88cc0d9240ad9004f02b1bc95eb5f205ccd00b90 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 28 May 2025 15:53:52 +0300 Subject: [PATCH] fixed --- img.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/img.c b/img.c index 1c73140..7e62948 100644 --- a/img.c +++ b/img.c @@ -296,7 +296,7 @@ char *GetDate(time_t time) { } struct DB_STR *build_html_page(FILE *fp, const char *file, const struct UNIQ_TAGS ut, struct DB_STR *db, const size_t page, const size_t pages) { - fprintf(fp, "\n\n\n%s\n\n\n\n
\n

%s | RSS
%s/p%zu

\n", CSS, TITLE, LOGO, DESC, XML_FILE, file, page); + fprintf(fp, "\n\n\n%s\n\n\n\n
\n

%s | RSS
%s/p%zu

\n", CSS, TITLE, LOGO, DESC, XML_FILE, file, page); /* Tags */ fputs("
\nall", fp); @@ -352,10 +352,10 @@ struct DB_STR *build_html_page(FILE *fp, const char *file, const struct UNIQ_TAG snprintf(new_path, sizeof(new_path), "%s-%zu.html", file, i); if (i == page) - fprintf(fp, "%zu", new_path, i); + fprintf(fp, "%zu ", new_path, i); else - fprintf(fp, " %zu ", new_path, i); + fprintf(fp, "%zu ", new_path, i); } }