* cosmetics

This commit is contained in:
djcb
2012-01-21 11:10:19 +02:00
parent 336b09db42
commit 14834a01ee
2 changed files with 37 additions and 39 deletions

View File

@ -242,4 +242,3 @@ mu_cmd_cfind (MuConfig *opts, GError **err)
return run_cmd_cfind (opts->params[1], opts->format, opts->color, return run_cmd_cfind (opts->params[1], opts->format, opts->color,
err); err);
} }

View File

@ -1,5 +1,5 @@
/* /*
** Copyright (C) 2011 <djcb@djcbsoftware.nl> ** Copyright (C) 2012 <djcb@djcbsoftware.nl>
** **
** This program is free software; you can redistribute it and/or modify it ** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the ** under the terms of the GNU General Public License as published by the
@ -219,7 +219,7 @@ mu_date_str_to_time_t (const char* date, gboolean local)
tm.tm_year = atoi (mydate) - 1900; tm.tm_year = atoi (mydate) - 1900;
tm.tm_isdst = -1; /* figure out the dst */ tm.tm_isdst = -1; /* figure out the dst */
if (!local) { /* temporalily switch to UTC */ if (!local) { /* temporarily switch to UTC */
tz = getenv ("TZ"); tz = getenv ("TZ");
setenv ("TZ", "", 1); setenv ("TZ", "", 1);
tzset (); tzset ();
@ -262,4 +262,3 @@ mu_date_time_t_to_str (time_t t, gboolean local)
return str ? g_strdup(str): NULL; return str ? g_strdup(str): NULL;
} }