diff --git a/ChangeLog b/ChangeLog index 404e00e74..36236c8c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-10-18 Douglas S. Blank + * src/BasicUtils/_NameDisplay.py: bug in making patterns with uppercase + 2007-10-18 Benny Malengier * src/DisplayTabs/__init__.py: add note backref * src/glade/gramps.glade: add notebook to note editor to show backref diff --git a/src/BasicUtils/_NameDisplay.py b/src/BasicUtils/_NameDisplay.py index 288739585..1045d343e 100644 --- a/src/BasicUtils/_NameDisplay.py +++ b/src/BasicUtils/_NameDisplay.py @@ -388,7 +388,7 @@ class NameDisplay: match_pattern = mat.group(0) # the matching pattern # prefix, code, suffix: p, code, s = re.split("%(.)", match_pattern) - field = d[code][0] + field = d[code.lower()][0] if code.isupper(): field += ".upper()" if p == '' and s == '':