summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorVesa Pirila <vesa@pirila.fi>2015-02-16 09:49:22 +0200
committerVesa Pirila <vesa@pirila.fi>2015-02-16 09:49:22 +0200
commit895ac10c4eaa347cf2dbe184fc9480a8f47168ee (patch)
tree53de1240fd6fa1323636052647c114441a343ecd /src/fe-text
parentcd5a571fd8aba12b6b8ddbf54e947ac4cc1e516e (diff)
downloadirssi-895ac10c4eaa347cf2dbe184fc9480a8f47168ee.zip
lastlog.c is a mix of tab and space indentation. My changes now use tabs.
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/lastlog.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fe-text/lastlog.c b/src/fe-text/lastlog.c
index 3c700d76..166d2847 100644
--- a/src/fe-text/lastlog.c
+++ b/src/fe-text/lastlog.c
@@ -76,19 +76,19 @@ int cmd_options_get_level(const char *cmd, GHashTable *optlist)
static void prepend_date(WINDOW_REC *window, LINE_REC *rec, GString *line)
{
- THEME_REC *theme = NULL;
- TEXT_DEST_REC dest = {0};
- char *format = NULL, datestamp[20] = {0};
+ THEME_REC *theme = NULL;
+ TEXT_DEST_REC dest = {0};
+ char *format = NULL, datestamp[20] = {0};
struct tm *tm = localtime(&rec->info.time);
int ret = 0;
- theme = window->theme != NULL ? window->theme : current_theme;
- format_create_dest(&dest, NULL, NULL, MSGLEVEL_LASTLOG, window);
- format = format_get_text_theme(theme, MODULE_NAME, &dest, TXT_LASTLOG_DATE);
+ theme = window->theme != NULL ? window->theme : current_theme;
+ format_create_dest(&dest, NULL, NULL, MSGLEVEL_LASTLOG, window);
+ format = format_get_text_theme(theme, MODULE_NAME, &dest, TXT_LASTLOG_DATE);
ret = strftime(datestamp, sizeof(datestamp), format, tm);
- g_free(format);
- if (ret <= 0) return;
+ g_free(format);
+ if (ret <= 0) return;
g_string_prepend(line, datestamp);
}