From 4426e8a9eaa2fd180e88123f750e74ecb8b77625 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sat, 21 Sep 2013 20:20:49 +0200 Subject: Added SSL Cert Inspector Window (based on treeview API) --- atari/hotlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'atari/hotlist.c') diff --git a/atari/hotlist.c b/atari/hotlist.c index 016cbc458..8db18b0f8 100644 --- a/atari/hotlist.c +++ b/atari/hotlist.c @@ -137,14 +137,14 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) break; case TOOLBAR_HOTLIST_ADD: - gw = gui_window_get_input_window(); + gw = gui_get_input_window(); if(gw && gw->browser){ cur_url = gui_window_get_url(gw); cur_title = gui_window_get_title(gw); // TODO: read language string. - cur_title = (cur_title ? cur_title : "New bookmark"); + cur_title = (cur_title ? cur_title : (char*)"New bookmark"); } else { - cur_url = "http://www"; + cur_url = (char*)"http://www"; } atari_hotlist_add_page(cur_url, cur_title); break; @@ -214,7 +214,7 @@ void atari_hotlist_init(void) tree_hotlist_path = (const char*)&hl.path; hl.tv = atari_treeview_create(hl.window, &atari_hotlist_treeview_callbacks, - flags); + NULL, flags); if (hl.tv == NULL) { /* handle it properly, clean up previous allocs */ -- cgit v1.2.3