gnucash master: Bug 797843 - Quickfill broken with Cyrillic input language
John Ralls
jralls at code.gnucash.org
Fri Jul 10 17:23:10 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/37213f27 (commit)
from https://github.com/Gnucash/gnucash/commit/7035661e (commit)
commit 37213f27a61ca7afc52f73da23b6c4a75cb1b786
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jul 10 14:10:36 2020 -0700
Bug 797843 - Quickfill broken with Cyrillic input language
gnc_table_modify_update needs new_text_len in bytes rather than
characters.
diff --git a/gnucash/register/register-gnome/gnucash-sheet.c b/gnucash/register/register-gnome/gnucash-sheet.c
index 5c0d2d490..b2d73713d 100644
--- a/gnucash/register/register-gnome/gnucash-sheet.c
+++ b/gnucash/register/register-gnome/gnucash-sheet.c
@@ -1063,7 +1063,7 @@ gnucash_sheet_insert_cb (GtkEditable *editable,
return;
new_text = make_new_text (sheet, insert_text, position);
- new_text_len = g_utf8_strlen (new_text, -1);
+ new_text_len = strlen (new_text);
retval = gnc_table_modify_update (table, virt_loc,
Summary of changes:
gnucash/register/register-gnome/gnucash-sheet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list