Return to format.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.294, 2021/08/20 20:08:30 | version 1.295, 2021/10/05 12:45:02 | ||
---|---|---|---|
|
|
||
fte = format_table_get(key); | fte = format_table_get(key); | ||
if (fte != NULL) { | if (fte != NULL) { | ||
value = fte->cb(ft); | value = fte->cb(ft); | ||
if (fte->type == FORMAT_TABLE_TIME) | if (fte->type == FORMAT_TABLE_TIME && value != NULL) | ||
t = ((struct timeval *)value)->tv_sec; | t = ((struct timeval *)value)->tv_sec; | ||
else | else | ||
found = value; | found = value; |