]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: remove extra line between menu and info line
authorKarel Zak <kzak@redhat.com>
Mon, 27 Jul 2015 10:35:53 +0000 (12:35 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Jul 2015 10:37:15 +0000 (12:37 +0200)
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index 5e46136950cfc7924b0d226f7f001edae578610c..e3eeab58b2531a11e5ee5791cf3fe57186d43ef2 100644 (file)
@@ -94,7 +94,7 @@
 #define MENU_H_POSTSTR_SZ      (sizeof(MENU_H_POSTSTR) - 1)
 
 #define TABLE_START_LINE       4
-#define MENU_START_LINE                (ui_lines - 5)
+#define MENU_START_LINE                (ui_lines - 4)          /* The menu maybe use two lines */
 #define INFO_LINE              (ui_lines - 2)
 #define WARN_LINE              INFO_LINE
 #define HINT_LINE              (ui_lines - 1)