From b0076c962df0a530baa99c6f1e1f7e4dc6993ef2 Mon Sep 17 00:00:00 2001 From: Chris Shoemaker Date: Fri, 14 Jul 2006 01:36:01 +0000 Subject: [PATCH] Restore a comment that explains the algorithm restored in r14488. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14496 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/Group.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/Group.c b/src/engine/Group.c index b941bb2dfa..08c777217a 100644 --- a/src/engine/Group.c +++ b/src/engine/Group.c @@ -611,6 +611,11 @@ xaccGetAccountFromFullNameHelper (const AccountGroup *grp, break; } + /* If we are here, we didn't find anything and there + * must be more separators. So, continue looking with + * a longer name, in case there is a name with the + * separator character in it. */ + /* Build the new name string */ temp_str = g_strconcat(name_str, separator, names[1], NULL); if (str_alloced)