Remove some superfluous space characters.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 15 Dec 2002 15:04:59 +0000 (15:04 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 15 Dec 2002 15:04:59 +0000 (15:04 +0000)
gedcom/date.c

index 4ddf377cfff054a7c977852a3a3f8ba870d78cb2..e866c809cc9441cc1434fea5ff2b242dbc02541a 100644 (file)
@@ -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);
 }