diff options
author | Michal Marek <mmarek@suse.cz> | 2011-08-31 12:06:36 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-08-31 12:06:36 +0200 |
commit | 6a19492fc24c586402c1c8c710396ff65d176c9d (patch) | |
tree | aab90eba4738e90df004243dc7be884bb26878aa /scripts/kconfig/lxdialog/textbox.c | |
parent | db57630b7a4f6991e6d5997fbc3cf6be55d76d23 (diff) | |
parent | 702a945028fd7cbf7a5e55546b3c47a5c984a1ba (diff) | |
download | op-kernel-dev-6a19492fc24c586402c1c8c710396ff65d176c9d.zip op-kernel-dev-6a19492fc24c586402c1c8c710396ff65d176c9d.tar.gz |
Merge branch 'kconfig/for-next' of git://github.com/lacombar/linux-2.6 into kbuild/kconfig
Diffstat (limited to 'scripts/kconfig/lxdialog/textbox.c')
-rw-r--r-- | scripts/kconfig/lxdialog/textbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/lxdialog/textbox.c b/scripts/kconfig/lxdialog/textbox.c index c704712..154c2dd 100644 --- a/scripts/kconfig/lxdialog/textbox.c +++ b/scripts/kconfig/lxdialog/textbox.c @@ -320,7 +320,6 @@ static void print_page(WINDOW * win, int height, int width) */ static void print_line(WINDOW * win, int row, int width) { - int y, x; char *line; line = get_line(); @@ -329,10 +328,10 @@ static void print_line(WINDOW * win, int row, int width) waddch(win, ' '); waddnstr(win, line, MIN(strlen(line), width - 2)); - getyx(win, y, x); /* Clear 'residue' of previous line */ #if OLD_NCURSES { + int x = getcurx(win); int i; for (i = 0; i < width - x; i++) waddch(win, ' '); |