fix top of buffer bug
[claws.git] / src / gtkstext.c
index c6605ea90a5c11256f8353d38e8d597e6fd51543..2e29e6e222748b85b438e8239c4678975fa53165 100644 (file)
@@ -4266,7 +4266,9 @@ static void move_cursor_to_display_row_up(GtkSText *text)
 
        /* top of buffer */
        if (mark.index == 0) {
-               XDEBUG ( ("%s(%d) top of buffer", __FILE__, __LINE__) );        
+               /* this is a quick fix */
+               XDEBUG ( ("%s(%d) top of buffer", __FILE__, __LINE__) );
+               gtk_stext_set_position_X(GTK_EDITABLE(text), 0);                
                return;
        }