aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_format_contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcontacts_format_contact.c')
-rw-r--r--libcontacts_format_contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontacts_format_contact.c b/libcontacts_format_contact.c
index 8be830e..9a20fcf 100644
--- a/libcontacts_format_contact.c
+++ b/libcontacts_format_contact.c
@@ -191,7 +191,7 @@ libcontacts_format_contact(const struct libcontacts_contact *contact, char **dat
} else if (contact->birthday->year) {
fprintf(fp, "BIRTH %04i\n", contact->birthday->year);
} else if (contact->birthday->day) {
- fprintf(fp, "BIRTH %02i-%02\n", contact->birthday->month, contact->birthday->day);
+ fprintf(fp, "BIRTH %02i-%02i\n", contact->birthday->month, contact->birthday->day);
} else if (contact->birthday->month) {
fprintf(fp, "BIRTH %02i\n", contact->birthday->month);
}