mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 17:23:15 +02:00
Fixed charset problem with date in log files when using ISO charset
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ gui_log_write_date (t_gui_buffer *buffer)
|
||||
if (date_tmp)
|
||||
{
|
||||
strftime (buf_time, sizeof (buf_time) - 1, cfg_log_timestamp, date_tmp);
|
||||
weechat_iconv_fprintf (buffer->log_file, "%s ", buf_time);
|
||||
fprintf (buffer->log_file, "%s ", buf_time);
|
||||
fflush (buffer->log_file);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ gui_log_write_date (t_gui_buffer *buffer)
|
||||
if (date_tmp)
|
||||
{
|
||||
strftime (buf_time, sizeof (buf_time) - 1, cfg_log_timestamp, date_tmp);
|
||||
weechat_iconv_fprintf (buffer->log_file, "%s ", buf_time);
|
||||
fprintf (buffer->log_file, "%s ", buf_time);
|
||||
fflush (buffer->log_file);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user