/[weechat]/weechat/src/gui/curses/gui-input.c
ViewVC logotype

Diff of /weechat/src/gui/curses/gui-input.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.54 by flashcode, Fri Oct 21 13:59:55 2005 UTC revision 1.55 by flashcode, Fri Oct 21 14:20:22 2005 UTC
# Line 306  gui_main_loop () Line 306  gui_main_loop ()
306              if (cfg_look_day_change              if (cfg_look_day_change
307                  && (local_time->tm_mday != old_day))                  && (local_time->tm_mday != old_day))
308              {              {
309                    strftime (text_time, sizeof (text_time),
310                              cfg_look_day_change_timestamp, local_time);
311                    gui_add_hotlist = 0;
312                  for (ptr_buffer = gui_buffers; ptr_buffer;                  for (ptr_buffer = gui_buffers; ptr_buffer;
313                       ptr_buffer = ptr_buffer->next_buffer)                       ptr_buffer = ptr_buffer->next_buffer)
314                  {                  {
315                      if (!ptr_buffer->dcc)                      if (!ptr_buffer->dcc)
                     {  
                         strftime (text_time, sizeof (text_time),  
                                   cfg_look_day_change_timestamp, local_time);  
316                          gui_printf_nolog_notime (ptr_buffer,                          gui_printf_nolog_notime (ptr_buffer,
317                                                   _("Day changed to %s\n"),                                                   _("Day changed to %s\n"),
318                                                   text_time);                                                   text_time);
                     }  
319                  }                  }
320                    gui_add_hotlist = 1;
321              }              }
322              old_day = local_time->tm_mday;              old_day = local_time->tm_mday;
323          }          }

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26