From 66f83ca7541b005f7f57dfb1c0fa01966dd2160d Mon Sep 17 00:00:00 2001 From: Joni Kokko Date: Thu, 2 Oct 2008 07:13:05 +0000 Subject: [PATCH] created better irreco_webdb_theme_print() --- irreco/trunk/src/webdb/irreco_webdb_theme.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/irreco/trunk/src/webdb/irreco_webdb_theme.c b/irreco/trunk/src/webdb/irreco_webdb_theme.c index b4db88ce..6457d681 100644 --- a/irreco/trunk/src/webdb/irreco_webdb_theme.c +++ b/irreco/trunk/src/webdb/irreco_webdb_theme.c @@ -135,11 +135,16 @@ void irreco_webdb_theme_set(IrrecoWebdbTheme *self, void irreco_webdb_theme_print(IrrecoWebdbTheme *self) { - IRRECO_PRINTF("Theme: %s %s %s %s %s %s %s %d\n", - self->name->str, self->creator->str, self->comment->str, - self->folder->str, self->uploaded->str, - self->modified->str, self->downloaded->str, - self->download_count); + IRRECO_ENTER + IRRECO_PRINTF("Name: %s\n", self->name->str); + IRRECO_PRINTF("Creator: %s\n", self->creator->str); + IRRECO_PRINTF("Comment: %s\n", self->comment->str); + IRRECO_PRINTF("Folder: %s\n", self->folder->str); + IRRECO_PRINTF("Uploaded: %s\n", self->uploaded->str); + IRRECO_PRINTF("Modified: %s\n", self->modified->str); + IRRECO_PRINTF("Downloaded: %s\n", self->downloaded->str); + IRRECO_PRINTF("Download_count: %d\n", self->download_count); + IRRECO_RETURN } void irreco_webdb_theme_set_preview_button(IrrecoWebdbTheme *self, -- 2.11.4.GIT