From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 31 Oct 2015 11:38:09 +0000 (+0100)
Subject: New client: Minor variable renaming (make it more descriptive).
X-Git-Tag: tce~266
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/static/condition?a=commitdiff_plain;h=5655c2df487da073f830bfd891c887e8adea3a2f;p=plomrogue

New client: Minor variable renaming (make it more descriptive).
---

diff --git a/client_prototype.py b/client_prototype.py
index 2340bfe..2ed03fd 100644
--- a/client_prototype.py
+++ b/client_prototype.py
@@ -127,8 +127,8 @@ def draw_screen():
                             and x_in_screen < screen_size[1]):
                         stdscr.addch(y_in_screen, x_in_screen, cell)
         def draw_scroll_hints():
-            def draw_scroll_string(hint_number):
-                hint = ' ' + str(hint_number + 1) + ' more ' + unit + ' '
+            def draw_scroll_string(n_lines_outside):
+                hint = ' ' + str(n_lines_outside + 1) + ' more ' + unit + ' '
                 if len(hint) <= win["size"][ni]:
                     non_hint_space = win["size"][ni] - len(hint)
                     hint_offset = int(non_hint_space / 2)