Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274303
b: refs/heads/master
c: 702a945
h: refs/heads/master
i:
  274301: 73efd9e
  274299: 839b5b8
  274295: b32a530
  274287: 1f761e0
  274271: 06f5f00
  274239: 0d6c57a
  274175: 2216270
v: v3
  • Loading branch information
Lucas De Marchi authored and Arnaud Lacombe committed Aug 30, 2011
1 parent bce0941 commit 4a74109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 564899f9f0a2df85fa367c8749a1fef323cb3215
refs/heads/master: 702a945028fd7cbf7a5e55546b3c47a5c984a1ba
3 changes: 1 addition & 2 deletions trunk/scripts/kconfig/lxdialog/textbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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, ' ');
Expand Down

0 comments on commit 4a74109

Please sign in to comment.