From: Peter Verthez Date: Sun, 15 Dec 2002 15:04:59 +0000 (+0000) Subject: Remove some superfluous space characters. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=236af8be6b2f25bda13b30d2fbb669fa0e9e69d9;p=gedcom-parse.git Remove some superfluous space characters. --- diff --git a/gedcom/date.c b/gedcom/date.c index 4ddf377..e866c80 100644 --- a/gedcom/date.c +++ b/gedcom/date.c @@ -152,9 +152,9 @@ void add_date(struct date* d) default: break; } - if (d->day_str) + if (d->day_str[0]) safe_buf_append(&date_buffer, "%s ", d->day_str); - if (d->month_str) + if (d->month_str[0]) safe_buf_append(&date_buffer, "%s ", d->month_str); safe_buf_append(&date_buffer, "%s", d->year_str); }