[project @ 2004-07-09 21:22:03 by rjw]

Fix for content-type auto updating

svn path=/import/netsurf/; revision=1065
This commit is contained in:
Richard Wilson 2004-07-09 21:22:03 +00:00
parent 5c804fe3b2
commit c273d17ae5

View File

@ -710,7 +710,7 @@ void ro_gui_hotlist_visited_update(struct content *content, struct hotlist_entry
/* Update our values
*/
if (entry->children == 0) entry->filetype = ro_content_filetype(content);
if (entry->children == -1) entry->filetype = ro_content_filetype(content);
entry->visits++;
entry->last_date = time(NULL);
ro_gui_hotlist_update_entry_size(entry);