From b56d06f0ed889c4a9acb85ae9d175483cc11210a Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 12 Feb 2002 16:06:10 +0000 Subject: [PATCH] Fixed small bug SVN revision: 32 --- elogd.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/elogd.c b/elogd.c index c97d55ad..0b357d08 100755 --- a/elogd.c +++ b/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.11 2002/02/12 16:06:10 midas + Fixed small bug + Revision 1.10 2002/01/31 00:51:41 midas Small patch to make elogd run under Max OS X (Darwin), thanks to Dominik Westner @@ -5745,8 +5748,11 @@ FILE *f; strcat(file_name, DIR_SEPARATOR_STR); strcat(file_name, "themes"); strcat(file_name, DIR_SEPARATOR_STR); - strcat(file_name, theme_name); - strcat(file_name, DIR_SEPARATOR_STR); + if (theme_name[0]) + { + strcat(file_name, theme_name); + strcat(file_name, DIR_SEPARATOR_STR); + } strcat(file_name, path); }