summaryrefslogtreecommitdiff
path: root/poezio/windows
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-03-09 15:36:32 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-03-19 17:50:58 +0000
commita6e66cd50ef64c0f2bf6fe154edcc652a66e9a46 (patch)
treeaeb07df2812590e8e63c2641360c58433f796e94 /poezio/windows
parent1a5d0493da157ec5ac32a4cf1297f592b599fdd8 (diff)
downloadpoezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.tar.gz
poezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.tar.bz2
poezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.tar.xz
poezio-a6e66cd50ef64c0f2bf6fe154edcc652a66e9a46.zip
Fix various spelling mistakes throughout the code
Diffstat (limited to 'poezio/windows')
-rw-r--r--poezio/windows/data_forms.py2
-rw-r--r--poezio/windows/image.py2
-rw-r--r--poezio/windows/list.py2
3 files changed, 3 insertions, 3 deletions
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