~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

Viewing changes to src/fe-common/core/fe-windows.c

  • Committer: Bazaar Package Importer
  • Author(s): Christian Bjälevik
  • Date: 2007-04-28 02:52:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070428025201-2c4swxnpn4wr7fpg
Tags: 0.8.11-0ubuntu1
* New upstream release:
  - http://www.irssi.org/news/ChangeLog
* debian/{control,compat}:
  - Bump Standards.
* debian/patches/00list:
  - Disable 05upgrade-check-binary.patch, applied upstream.
  - Disable 08doublefree.patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
574
574
        THEME_REC *theme;
575
575
        TEXT_DEST_REC dest;
576
576
        char *format, str[256];
 
577
        int ret;
577
578
 
578
579
        theme = active_win->theme != NULL ? active_win->theme : current_theme;
579
580
        format_create_dest(&dest, NULL, NULL, MSGLEVEL_NEVER, window);
580
581
        format = format_get_text_theme(theme, MODULE_NAME, &dest,
581
582
                                       TXT_DAYCHANGE);
582
 
        if (strftime(str, sizeof(str), format, tm) <= 0)
583
 
                str[0] = '\0';
 
583
        ret = strftime(str, sizeof(str), format, tm);
584
584
        g_free(format);
 
585
        if (ret <= 0) return;
585
586
 
586
587
        printtext_string_window(window, MSGLEVEL_NEVER, str);
587
588
}