Skip to content

Commit

Permalink
elif in Python, else if in C
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWilkes committed May 30, 2022
1 parent 013658f commit 00f3718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/textwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def draw_line(self, text, ypos, fg, bg, centre):
w = self.width()
if centre:
xpos = (w - text_width) // 2
else if hasattr(self.font, "WIDTH"):
elif hasattr(self.font, "WIDTH"):
xpos = (w - self.width_chars() * self.font.WIDTH) // 2
else:
xpos = 0
Expand Down

0 comments on commit 00f3718

Please sign in to comment.