If the browser read the history from file in the init function the history max
items where not set so we considered the max items to be 0. Now the url
history is initialized if the config is processed.
setting_init();
command_init();
keybind_init();
- url_history_init();
vb_read_config();
+ url_history_init();
vb_update_status_style();
vb_update_input_style(VB_MSG_NORMAL);
return TRUE;
}
-
vb.config.url_history_max = s->arg.i;
return TRUE;
void url_history_add(const char* url, const char* title)
{
- /* uf the url is already in history, remove this entry */
+ /* if the url is already in history, remove this entry */
/* TODO use g_list_find_custom for this task */
for (GList* link = vb.behave.url_history; link; link = link->next) {
UrlHist* hi = (UrlHist*)link->data;