summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-01-17 22:50:49 +0000
committerbfox <bfox>2001-01-17 22:50:49 +0000
commit80e9f778d09b955f59b5a7b923b9801cff73fbd6 (patch)
tree460b0add89728fa2eb4620336e2d243b86b6a1b7 /text.py
parent122fe33ca02bdab0f2f3ee5c8cb7ade133f3df86 (diff)
downloadanaconda-80e9f778d09b955f59b5a7b923b9801cff73fbd6.tar.gz
anaconda-80e9f778d09b955f59b5a7b923b9801cff73fbd6.tar.xz
anaconda-80e9f778d09b955f59b5a7b923b9801cff73fbd6.zip
Fixed another bug while going back and forth.
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/text.py b/text.py
index 0c9a455df..451b3fc54 100644
--- a/text.py
+++ b/text.py
@@ -186,13 +186,13 @@ class LanguageDefaultWindow:
descriptions.sort ()
current = todo.language.get ()
- found = FALSE
+ found = 0
for lang in langs:
if languages[lang] == current:
default = langs.index (lang)
- found = TRUE
+ found = 1
else:
- if found == FALSE:
+ if found == 0:
default = langs[0]
height = min((screen.height - 16, len(descriptions)))