gnucash master: One more misbehaving text cursor in register.

John Ralls jralls at code.gnucash.org
Sat Jun 6 18:09:32 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/c09ef9ee (commit)
	from  https://github.com/Gnucash/gnucash/commit/747ad968 (commit)



commit c09ef9eea0f80e46acbbc71d27cbc637edc3924b
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jun 6 15:09:13 2020 -0700

    One more misbehaving text cursor in register.

diff --git a/gnucash/register/register-core/pricecell.c b/gnucash/register/register-core/pricecell.c
index 1cf46877a..5148c13e3 100644
--- a/gnucash/register/register-core/pricecell.c
+++ b/gnucash/register/register-core/pricecell.c
@@ -119,7 +119,6 @@ gnc_price_cell_modify_verify (BasicCell *_cell,
     }
 
     gnc_basic_cell_set_value_internal (_cell, newval);
-    *cursor_position += g_utf8_strlen (newval, -1);
     *end_selection = *start_selection = *cursor_position;
     cell->need_to_parse = TRUE;
 }



Summary of changes:
 gnucash/register/register-core/pricecell.c | 1 -
 1 file changed, 1 deletion(-)



More information about the gnucash-changes mailing list