diff options
author | bfox <bfox> | 2001-01-17 22:50:49 +0000 |
---|---|---|
committer | bfox <bfox> | 2001-01-17 22:50:49 +0000 |
commit | 80e9f778d09b955f59b5a7b923b9801cff73fbd6 (patch) | |
tree | 460b0add89728fa2eb4620336e2d243b86b6a1b7 /text.py | |
parent | 122fe33ca02bdab0f2f3ee5c8cb7ade133f3df86 (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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))) |