diff --git a/ChangeLog b/ChangeLog index 4c75a6c04..f79a9cbc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-08-20 Jérôme Rapinat + * src/Relationship.py: Fix array bounds check. + 2007-08-20 Don Allingham * src/ScratchPad.py (ScratchPadSourceRef.__init__): handle the removal of the get_text() function diff --git a/src/Relationship.py b/src/Relationship.py index d83664c27..15b3139e1 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -529,7 +529,7 @@ class RelationshipCalculator: rel_str = "distant uncles/aunts" elif Ga == 1: # These are nieces/nephews - if Ga < len(_nephews_nieces_level): + if Gb < len(_nephews_nieces_level): rel_str = _nephews_nieces_level[Gb] else: rel_str = "distant nephews/nieces"