Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Isak Ellmer and committed by
Masahiro Yamada
89e5462b 978fa00e

+14 -14
+1 -1
scripts/kconfig/lxdialog/checklist.c
··· 119 119 } 120 120 121 121 do_resize: 122 - if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) 122 + if (getmaxy(stdscr) < (height + CHECKLIST_HEIGHT_MIN)) 123 123 return -ERRDISPLAYTOOSMALL; 124 124 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) 125 125 return -ERRDISPLAYTOOSMALL;
+6 -6
scripts/kconfig/lxdialog/dialog.h
··· 162 162 int on_key_resize(void); 163 163 164 164 /* minimum (re)size values */ 165 - #define CHECKLIST_HEIGTH_MIN 6 /* For dialog_checklist() */ 165 + #define CHECKLIST_HEIGHT_MIN 6 /* For dialog_checklist() */ 166 166 #define CHECKLIST_WIDTH_MIN 6 167 - #define INPUTBOX_HEIGTH_MIN 2 /* For dialog_inputbox() */ 167 + #define INPUTBOX_HEIGHT_MIN 2 /* For dialog_inputbox() */ 168 168 #define INPUTBOX_WIDTH_MIN 2 169 - #define MENUBOX_HEIGTH_MIN 15 /* For dialog_menu() */ 169 + #define MENUBOX_HEIGHT_MIN 15 /* For dialog_menu() */ 170 170 #define MENUBOX_WIDTH_MIN 65 171 - #define TEXTBOX_HEIGTH_MIN 8 /* For dialog_textbox() */ 171 + #define TEXTBOX_HEIGHT_MIN 8 /* For dialog_textbox() */ 172 172 #define TEXTBOX_WIDTH_MIN 8 173 - #define YESNO_HEIGTH_MIN 4 /* For dialog_yesno() */ 173 + #define YESNO_HEIGHT_MIN 4 /* For dialog_yesno() */ 174 174 #define YESNO_WIDTH_MIN 4 175 - #define WINDOW_HEIGTH_MIN 19 /* For init_dialog() */ 175 + #define WINDOW_HEIGHT_MIN 19 /* For init_dialog() */ 176 176 #define WINDOW_WIDTH_MIN 80 177 177 178 178 int init_dialog(const char *backtitle);
+1 -1
scripts/kconfig/lxdialog/inputbox.c
··· 43 43 strcpy(instr, init); 44 44 45 45 do_resize: 46 - if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) 46 + if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGHT_MIN)) 47 47 return -ERRDISPLAYTOOSMALL; 48 48 if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) 49 49 return -ERRDISPLAYTOOSMALL;
+1 -1
scripts/kconfig/lxdialog/menubox.c
··· 172 172 do_resize: 173 173 height = getmaxy(stdscr); 174 174 width = getmaxx(stdscr); 175 - if (height < MENUBOX_HEIGTH_MIN || width < MENUBOX_WIDTH_MIN) 175 + if (height < MENUBOX_HEIGHT_MIN || width < MENUBOX_WIDTH_MIN) 176 176 return -ERRDISPLAYTOOSMALL; 177 177 178 178 height -= 4;
+1 -1
scripts/kconfig/lxdialog/textbox.c
··· 175 175 176 176 do_resize: 177 177 getmaxyx(stdscr, height, width); 178 - if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) 178 + if (height < TEXTBOX_HEIGHT_MIN || width < TEXTBOX_WIDTH_MIN) 179 179 return -ERRDISPLAYTOOSMALL; 180 180 if (initial_height != 0) 181 181 height = initial_height;
+1 -1
scripts/kconfig/lxdialog/util.c
··· 291 291 getyx(stdscr, saved_y, saved_x); 292 292 293 293 getmaxyx(stdscr, height, width); 294 - if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) { 294 + if (height < WINDOW_HEIGHT_MIN || width < WINDOW_WIDTH_MIN) { 295 295 endwin(); 296 296 return -ERRDISPLAYTOOSMALL; 297 297 }
+1 -1
scripts/kconfig/lxdialog/yesno.c
··· 32 32 WINDOW *dialog; 33 33 34 34 do_resize: 35 - if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) 35 + if (getmaxy(stdscr) < (height + YESNO_HEIGHT_MIN)) 36 36 return -ERRDISPLAYTOOSMALL; 37 37 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) 38 38 return -ERRDISPLAYTOOSMALL;
+2 -2
scripts/kconfig/mconf.c
··· 659 659 dialog_clear(); 660 660 res = dialog_checklist(prompt ? prompt : "Main Menu", 661 661 radiolist_instructions, 662 - MENUBOX_HEIGTH_MIN, 662 + MENUBOX_HEIGHT_MIN, 663 663 MENUBOX_WIDTH_MIN, 664 - CHECKLIST_HEIGTH_MIN); 664 + CHECKLIST_HEIGHT_MIN); 665 665 selected = item_activate_selected(); 666 666 switch (res) { 667 667 case 0: