mercurial/encoding.py
changeset 11297 d320e70442a5
parent 10282 08a0f04b56bd
child 11892 2be70ca17311
--- a/mercurial/encoding.py	Thu Jun 03 10:37:31 2010 +0100
+++ b/mercurial/encoding.py	Sun Jun 06 17:20:10 2010 +0900
@@ -72,6 +72,6 @@
     d = s.decode(encoding, 'replace')
     if hasattr(unicodedata, 'east_asian_width'):
         w = unicodedata.east_asian_width
-        return sum([w(c) in 'WF' and 2 or 1 for c in d])
+        return sum([w(c) in 'WFA' and 2 or 1 for c in d])
     return len(d)