]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
Set height and width separately.
authorjohnsonm <johnsonm>
Tue, 28 Oct 1997 03:54:35 +0000 (03:54 +0000)
committerjohnsonm <johnsonm>
Tue, 28 Oct 1997 03:54:35 +0000 (03:54 +0000)
snack.py

index 42749750d95491eb7af06a51bbf66a1bfea3143d..0491c1a4bd093916c60e157e3e05ac5ae7a78b10 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -167,7 +167,7 @@ class SnackScreen:
 
     def __init__(self):
        _snack.init()
-       size = _snack.size()
+       (self.width, self.height) = _snack.size()
        self.pushHelpLine(None)
 
     def finish(self):