gnucash maint: Bug 797843 - Quickfill broken with Cyrillic input language
John Ralls
jralls at code.gnucash.org
Fri Jul 10 17:23:59 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/c04806f8 (commit)
from https://github.com/Gnucash/gnucash/commit/ebb462d0 (commit)
commit c04806f88e6e290555074d8997b5db06363509f4
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