summaryrefslogtreecommitdiff
path: root/atari/hotlist.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-09-21 20:20:49 +0200
committerOle Loots <ole@monochrom.net>2013-09-21 20:20:49 +0200
commit4426e8a9eaa2fd180e88123f750e74ecb8b77625 (patch)
treeb49c007fc41665c4839ded6d91edbef495765451 /atari/hotlist.c
parentff1f5a5fafd92baf239991043c28935a669765f7 (diff)
downloadnetsurf-4426e8a9eaa2fd180e88123f750e74ecb8b77625.tar.gz
netsurf-4426e8a9eaa2fd180e88123f750e74ecb8b77625.tar.bz2
Added SSL Cert Inspector Window
(based on treeview API)
Diffstat (limited to 'atari/hotlist.c')
-rw-r--r--atari/hotlist.c8
1 files changed, 4 insertions, 4 deletions
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 */