diff options
Diffstat (limited to 'src/sliceitoff/images/fonts.py')
-rw-r--r-- | src/sliceitoff/images/fonts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sliceitoff/images/fonts.py b/src/sliceitoff/images/fonts.py index 98aa6e6..a1687b6 100644 --- a/src/sliceitoff/images/fonts.py +++ b/src/sliceitoff/images/fonts.py @@ -36,4 +36,4 @@ class Font: self.surfaces.append(surface) def get(self, ch): - return self.surfaces[ord(ch)%256] + return self.surfaces[ch%256] |