gaim/gaim

Parents 48047208e275
Children 7bd596345656
Display the log's original timestamp on Windows. This is less confusing than my crazy crackpot idea before... AND, the logs still sort by 'real' time relative to the user.
  • +3 -3
    src/log.c
  • --- a/src/log.c Tue Apr 04 18:13:12 2006 -0400
    +++ b/src/log.c Tue Apr 04 19:45:23 2006 -0400
    @@ -698,8 +698,8 @@
    {
    GaimLog *log;
    GaimLogCommonLoggerData *data;
    + struct tm tm;
    #if defined (HAVE_TM_GMTOFF) && defined (HAVE_STRUCT_TM_TM_ZONE)
    - struct tm tm;
    long tz_off;
    const char *rest;
    time_t stamp = gaim_str_to_time(gaim_unescape_filename(filename), FALSE, &tm, &tz_off, &rest);
    @@ -722,9 +722,9 @@
    g_free(tmp);
    }
    #else
    - time_t stamp = gaim_str_to_time(filename, FALSE, NULL, NULL, NULL);
    + time_t stamp = gaim_str_to_time(filename, FALSE, NULL, &tm, NULL);
    - log = gaim_log_new(type, name, account, NULL, stamp, NULL);
    + log = gaim_log_new(type, name, account, NULL, stamp, &tm);
    #endif
    log->logger = logger;