Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199497
b: refs/heads/master
c: 68c16ed
h: refs/heads/master
i:
  199495: 6360d30
v: v3
  • Loading branch information
Nir Tzachar authored and Michal Marek committed Feb 2, 2010
1 parent 77ed501 commit ede55a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 851190c9304154b7d65596801415229c05994e91
refs/heads/master: 68c16edddf41044410fab59d4c179c023cb25afb
6 changes: 3 additions & 3 deletions trunk/scripts/kconfig/nconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ static void build_conf(struct menu *menu)
break;
default:
tmp = 2 + strlen(sym_get_string_value(sym));
item_make(menu, 's', "(%s)",
item_make(menu, 's', " (%s)",
sym_get_string_value(sym));
tmp = indent - tmp + 4;
if (tmp < 0)
Expand Down Expand Up @@ -1072,8 +1072,8 @@ static void show_menu(const char *prompt, const char *instructions,

/* position the menu at the middle of the screen */
scale_menu(curses_menu, &maxy, &maxx);
maxx = min(maxx, mwin_max_cols);
maxy = mwin_max_lines-1;
maxx = min(maxx, mwin_max_cols-2);
maxy = mwin_max_lines-2;
menu_window = derwin(main_window,
maxy,
maxx,
Expand Down

0 comments on commit ede55a2

Please sign in to comment.