aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/print.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-12 20:02:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-20 02:17:55 +0800
commitc85109fc322137596bf34cffc5445d568223c60d (patch)
tree711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /calendar/gui/print.c
parent7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff)
downloadgsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r--calendar/gui/print.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index a81b709f7e..d0d8713f6f 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -608,24 +608,24 @@ format_date (struct tm *tm,
fmt[0] = 0;
if (flags & DATE_DAYNAME) {
- strcat(fmt, "%A");
+ strcat (fmt, "%A");
}
if (flags & DATE_DAY) {
if (flags & DATE_DAYNAME)
- strcat(fmt, " ");
+ strcat (fmt, " ");
strcat (fmt, gettext (days[tm->tm_mday - 1]));
}
if (flags & DATE_MONTH) {
if (flags & (DATE_DAY | DATE_DAYNAME))
- strcat(fmt, " ");
- strcat(fmt, "%B");
+ strcat (fmt, " ");
+ strcat (fmt, "%B");
if ((flags & (DATE_DAY | DATE_YEAR)) == (DATE_DAY | DATE_YEAR))
- strcat(fmt, ",");
+ strcat (fmt, ",");
}
if (flags & DATE_YEAR) {
if (flags & (DATE_DAY | DATE_DAYNAME | DATE_MONTH))
- strcat(fmt, " ");
- strcat(fmt, "%Y");
+ strcat (fmt, " ");
+ strcat (fmt, "%Y");
}
e_utf8_strftime (buffer, bufflen, fmt, tm);
buffer[bufflen - 1] = '\0';