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); } }