mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 03:33:12 +02:00
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
This commit is contained in:
@@ -339,6 +339,9 @@ gui_chat_get_time_string (time_t date)
|
||||
int i, time_first_digit, time_last_digit, last_color;
|
||||
struct tm *local_time;
|
||||
|
||||
if (date == 0)
|
||||
return NULL;
|
||||
|
||||
if (!CONFIG_STRING(config_look_buffer_time_format)
|
||||
|| !CONFIG_STRING(config_look_buffer_time_format)[0])
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user