Re: r13185 chris_y - in /trunk/netsurf/desktop: hotlist.c hotlist.h tree.c tree.h

2011-11-28 Thread John-Mark Bell
On Sun, 2011-11-27 at 20:07 +, nets...@semichrome.net wrote: > - parent = tree_get_default_folder_node(hotlist_tree); > + if (selected == true) { > + parent = tree_get_selected_node(tree_get_root(hotlist_tree)); > + if (parent && (tree_node_is_folder == false))

Re: r13185 chris_y - in /trunk/netsurf/desktop: hotlist.c hotlist.h tree.c tree.h

2011-11-28 Thread Chris Young
On Mon, 28 Nov 2011 19:38:37 +, John-Mark Bell wrote: > tree_node_is_folder is a function. Comparing its address to false is > bogus (and generates compiler warnings here). Please make sure that when > committing changes to core code, they are warning-free. It wasn't generating a warning here

patch: adjust caret position when selected text got removed.

2011-11-28 Thread m0n0
Hello, Comment: fix positioning of the caret after selected text region got deleted. This patch just sets the caret position to selection_start when an delete input comes in. (desktop/textarea.c) Please commit or reject. Thanks & Greets, mIndex: textarea.c =