summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lxdialog/textbox.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/textbox.c
parent978fa00eb035780d0c40ce007c2a0cb21b741431 (diff)
downloadlinux-stable-89e5462bb5aee1e634a3d5bd41125809a929a486.tar.gz
linux-stable-89e5462bb5aee1e634a3d5bd41125809a929a486.tar.bz2
linux-stable-89e5462bb5aee1e634a3d5bd41125809a929a486.zip
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/textbox.c')
-rw-r--r--scripts/kconfig/lxdialog/textbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lxdialog/textbox.c b/scripts/kconfig/lxdialog/textbox.c
index 058ed0e5bbd5..0abaf635978f 100644
--- a/scripts/kconfig/lxdialog/textbox.c
+++ b/scripts/kconfig/lxdialog/textbox.c
@@ -175,7 +175,7 @@ int dialog_textbox(const char *title, const char *tbuf, int initial_height,
do_resize:
getmaxyx(stdscr, height, width);
- if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN)
+ if (height < TEXTBOX_HEIGHT_MIN || width < TEXTBOX_WIDTH_MIN)
return -ERRDISPLAYTOOSMALL;
if (initial_height != 0)
height = initial_height;