summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-16 17:20:42 +0000
committerMike Fulbright <msf@redhat.com>2001-03-16 17:20:42 +0000
commit28029593cefa42a49471769675e301acca6b9944 (patch)
tree891a1874773cf1a9348863f149e60b645d4c7563 /textw
parentf4c063eaa6b1c951b8b95404b732dc943e79306c (diff)
downloadanaconda-28029593cefa42a49471769675e301acca6b9944.tar.gz
anaconda-28029593cefa42a49471769675e301acca6b9944.tar.xz
anaconda-28029593cefa42a49471769675e301acca6b9944.zip
fix check to see if we have buffer space left
Diffstat (limited to 'textw')
-rw-r--r--textw/upgrade_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index 36d529fda..54d7e6551 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -91,7 +91,7 @@ class UpgradeSwapWindow:
if type(val) == type(1):
(mnt, part, size) = fsList[listbox.current()]
- if size < (val - 16):
+ if size < (val + 16):
todo.intf.messageWindow(_("Error"),
_("There is not enough space on the device you "
"selected for the swap partition."))