diff --git a/bin/wcwidth-browser.py b/bin/wcwidth-browser.py index 47e932a..0718cae 100755 --- a/bin/wcwidth-browser.py +++ b/bin/wcwidth-browser.py @@ -116,7 +116,7 @@ def __init__(self, width, unicode_version): """ self.characters = [] letters_o = ('o' * width) - for (begin, end) in ZERO_WIDTH[unicode_version]: + for (begin, end) in ZERO_WIDTH[_wcmatch_version(unicode_version)]: for val in [_val for _val in range(begin, end + 1) if _val <= LIMIT_UCS]: