When looking for an matching account name, start at the beginning of

the selected region, not the end.  Problem created when the code
stopped adding placeholder accounts to the quickfill.  Fixes 328893.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13310 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-02-20 00:01:18 +00:00
parent 9606f87741
commit f895d7e10f
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2006-02-19 David Hampton <hampton@employees.org>
* src/register/register-gnome/combocell-gnome.c: When looking for
an matching account name, start at the beginning of the selected
region, not the end. Problem created when the code stopped adding
placeholder accounts to the quickfill. Fixes 328893.
2006-02-19 Neil Williams <linux@codehelp.co.uk>
* backend/file/qsf-backend.c : Correcting collect handling,

View File

@@ -707,9 +707,9 @@ gnc_combo_cell_direct_update (BasicCell *bcell,
return FALSE;
find_pos = -1;
if (*cursor_position < bcell->value_chars)
if (*start_selection < bcell->value_chars)
{
int i = *cursor_position;
int i = *start_selection;
const char *c;
gunichar uc;