[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [arm/release] fix: getstr y argument wasn't being respected



commit 4f8cd4c475d481453471191e435fa514267986a6
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Wed Jun 22 18:58:05 2011 -0700

    fix: getstr y argument wasn't being respected
    
    Never used the row argument before - forgot to respect it in subwindow
    creation.
---
 src/util/panel.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/panel.py b/src/util/panel.py
index aa3ca27..3f0a98a 100644
--- a/src/util/panel.py
+++ b/src/util/panel.py
@@ -592,7 +592,7 @@ class Panel():
     
     # temporary subwindow for user input
     displayWidth = self.getPreferredSize()[1]
-    inputSubwindow = self.parent.subwin(1, displayWidth - x, self.top, self.left + x)
+    inputSubwindow = self.parent.subwin(1, displayWidth - x, self.top + y, self.left + x)
     
     # prepopulates the initial text
     if initialText: inputSubwindow.addstr(0, 0, initialText[:displayWidth - x - 1])



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits