summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-07-16 11:34:51 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-07-16 11:34:51 +0000
commit488f3e0d8a00ac2347bf3d1229dc73adf65750c9 (patch)
tree44cd9a8957e00840ff3b0edf7cec5d17d06a8a42
parent74b6dce0be728d01e82fcf3c3f5375c25398c54e (diff)
downloadnetsurf-488f3e0d8a00ac2347bf3d1229dc73adf65750c9.tar.gz
netsurf-488f3e0d8a00ac2347bf3d1229dc73adf65750c9.tar.bz2
Fix small build
svn path=/trunk/netsurf/; revision=2762
-rw-r--r--riscos/treeview.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/riscos/treeview.c b/riscos/treeview.c
index 827f01408..ca03372f7 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -362,7 +362,7 @@ void tree_draw_node_element(struct tree *tree, struct node_element *element) {
0,
element->box.height - 3);
}
- }
+ }
break;
}
}
@@ -1039,7 +1039,7 @@ void ro_gui_tree_start_edit(struct tree *tree, struct node_element *element,
if (error)
LOG(("xwimp_create_icon: 0x%x: %s",
error->errnum, error->errmess));
-
+
tree->textarea_handle = textarea_create((wimp_w)tree->handle,
(wimp_i)tree->edit_handle, 0, "Homerton", 192);
if (!tree->textarea_handle) {
@@ -1193,7 +1193,7 @@ void ro_gui_tree_open(wimp_open *open) {
error->errnum, error->errmess));
warn_user("WimpError", error->errmess);
}
-
+
/* hide the scroll bar? */
if ((tree->no_vscroll) && (height != tree->window_height)) {
vscroll = (tree->height > height);
@@ -1207,7 +1207,7 @@ void ro_gui_tree_open(wimp_open *open) {
open->visible.x1 += ro_get_vscroll_width(open->w);
}
}
-
+
tree->window_width = width;
tree->window_height = height;
}
@@ -1471,11 +1471,14 @@ bool ro_gui_tree_launch_node(struct tree *tree, struct node *node) {
browser_window_create(element->text, NULL, 0, true);
return true;
}
+
+#ifdef WITH_SSL
element = tree_find_element(node, TREE_ELEMENT_SSL);
if (element) {
ro_gui_cert_open(tree, node);
return true;
}
+#endif
return false;
}