Add proper support for double width characters to legacy mode and few related formatting functions

This commit is contained in:
Asmageddon 2012-03-07 19:55:34 +01:00
parent 415bc22dd9
commit a2c347a79c
1 changed files with 1 additions and 1 deletions

View File

@ -230,4 +230,4 @@ def pad_string(string, length, character=" ", side="right"):
if side == "left":
return "%s%s" % (character * diff, string)
elif side == "right":
return "%s%s" % (string, character * diff)
return "%s%s" % (string, character * diff)