]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: fix compilation with slang
authorKarel Zak <kzak@redhat.com>
Thu, 28 Jul 2011 11:46:22 +0000 (13:46 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 28 Jul 2011 11:46:22 +0000 (13:46 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/cfdisk.c

index b856717e5b3a73d83b24601728874850e5807dd8..c3990149a46781fb76e4df9e68ef41727133751f 100644 (file)
@@ -1138,7 +1138,9 @@ menuSelect( int y, int x, struct MenuItem *menuItems, int itemLength,
                key = 0;
                break;
        case KEY_LEFT:
+#ifdef KEY_BTAB
        case KEY_BTAB:  /* Back tab */
+#endif
                /* Select previous menu item */
                do {
                        current--;