aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-26 01:45:55 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-26 01:45:55 +0200
commit0cb28aa01c480c74fce331fe7e5fd028ca8788cc (patch)
tree181187319c9f5bfcd0c1d182fb22aba1cf741a35
parent6d9560ad7f3c3f6575ab9bcac885e2e70fcb3bf2 (diff)
Rename j to i
-rw-r--r--yahoozy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yahoozy.py b/yahoozy.py
index 3ca5af7..0fa19c7 100644
--- a/yahoozy.py
+++ b/yahoozy.py
@@ -761,8 +761,8 @@ def game_end(rs: RenderState, body_win) -> None:
y, x = body_win.getmaxyx()
x_off = x - longest - 4
body_win.addstr(2, x_off, FINAL_TITLE, curses.A_BOLD)
- for j, line in enumerate(leaderboard, 1):
- body_win.addstr(2 + j, x_off, line)
+ for i, line in enumerate(leaderboard, 1):
+ body_win.addstr(2 + i, x_off, line)
draw_top10(body_win, hist)