Index: libgtkhtml/view/htmlview.c
===================================================================
RCS file: /cvs/gnome/gtkhtml2/libgtkhtml/view/htmlview.c,v
retrieving revision 1.177
diff -u -p -r1.177 htmlview.c
--- libgtkhtml/view/htmlview.c	14 Sep 2004 06:34:27 -0000	1.177
+++ libgtkhtml/view/htmlview.c	4 Nov 2004 10:53:19 -0000
@@ -1397,7 +1397,10 @@ move_cursor (HtmlView *view, HtmlBox *ne
 		HtmlBoxText *text;
 
 		if (new_cursor_box == NULL) {
-			text = html_view_get_box_text_for_offset (view, &offset, html_view_get_cursor_end_of_line (view) != 0);
+			gint tmp_offset;
+
+			tmp_offset = offset;
+			text = html_view_get_box_text_for_offset (view, &tmp_offset, html_view_get_cursor_end_of_line (view) != 0);
 			new_cursor_box = HTML_BOX (text);
 		}
 		if (DOM_IS_ELEMENT (new_cursor_box->parent->dom_node)) {
