summaryrefslogtreecommitdiff
path: root/desktop/hotlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r--desktop/hotlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index bedb09535..372ae5c7c 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -93,7 +93,7 @@ static nserror hotlist_create_treeview_field_visits_data(
e->data[HL_LAST_VISIT].field = hl_ctx.fields[HL_LAST_VISIT].field;
e->data[HL_LAST_VISIT].value = last_visited2;
- e->data[HL_LAST_VISIT].value_len = (last_visited2 != NULL) ? 24 : 0;
+ e->data[HL_LAST_VISIT].value_len = 24;
/* Visits */
len = snprintf(buffer, 16, "%u", data->visits);