From a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 9 Mar 2019 15:36:32 +0100 Subject: Fix various spelling mistakes throughout the code --- poezio/windows/data_forms.py | 2 +- poezio/windows/image.py | 2 +- poezio/windows/list.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'poezio/windows') diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py index 3ec44b97..7e746774 100644 --- a/poezio/windows/data_forms.py +++ b/poezio/windows/data_forms.py @@ -272,7 +272,7 @@ class ListMultiWin(FieldInputMixin): self._field.set_answer(values) def get_help_message(self): - return '←, →: Switch between the value. Space: select or unselect a value' + return '←, →: Switch between the value. Space: select or deselect a value' class ListSingleWin(FieldInputMixin): diff --git a/poezio/windows/image.py b/poezio/windows/image.py index 96636ec7..dfd2eae2 100644 --- a/poezio/windows/image.py +++ b/poezio/windows/image.py @@ -52,7 +52,7 @@ def render_svg(svg: bytes) -> Optional[Image.Image]: handle.render_cairo(context) data = surface.get_data() image = Image.frombytes('RGBA', (MAX_SIZE, MAX_SIZE), data.tobytes()) - # This is required because Cairo uses a BGRA (in host endianess) + # This is required because Cairo uses a BGRA (in host endianness) # format, and PIL an ABGR (in byte order) format. Yes, this is # confusing. b, g, r, a = image.split() diff --git a/poezio/windows/list.py b/poezio/windows/list.py index 350255c6..c427a79e 100644 --- a/poezio/windows/list.py +++ b/poezio/windows/list.py @@ -40,7 +40,7 @@ class ListWin(Win): def empty(self) -> None: """ - emtpy the list and reset some important values as well + empty the list and reset some important values as well """ self.lines = [] self._selected_row = 0 -- cgit v1.2.3