summaryrefslogtreecommitdiff
path: root/scripts/kconfig/lxdialog/inputbox.c
diff options
context:
space:
mode:
authorIsak Ellmer <isak01@gmail.com>2024-03-30 16:19:45 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2024-03-31 21:09:50 +0900
commit89e5462bb5aee1e634a3d5bd41125809a929a486 (patch)
tree2c6f69ae69305382c4090654354d260dbe38cd27 /scripts/kconfig/lxdialog/inputbox.c
parent978fa00eb035780d0c40ce007c2a0cb21b741431 (diff)
kconfig: Fix typo HEIGTH to HEIGHT
Fixed a typo in some variables where height was misspelled as heigth. Signed-off-by: Isak Ellmer <isak01@gmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lxdialog/inputbox.c')
-rw-r--r--scripts/kconfig/lxdialog/inputbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lxdialog/inputbox.c b/scripts/kconfig/lxdialog/inputbox.c
index 1dcfb288ee63..3c6e24b20f5b 100644
--- a/scripts/kconfig/lxdialog/inputbox.c
+++ b/scripts/kconfig/lxdialog/inputbox.c
@@ -43,7 +43,7 @@ int dialog_inputbox(const char *title, const char *prompt, int height, int width
strcpy(instr, init);
do_resize:
- if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN))
+ if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGHT_MIN))
return -ERRDISPLAYTOOSMALL;
if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN))
return -ERRDISPLAYTOOSMALL;