Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54130
b: refs/heads/master
c: f88d205
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Sam Ravnborg committed May 2, 2007
1 parent 1cdf237 commit 169bd7a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2462566f21a5ecdb2a7e75e09db90ff175b1f748
refs/heads/master: f88d205501e35195444bdd41983e26546af3f56a
4 changes: 2 additions & 2 deletions trunk/scripts/kconfig/lxdialog/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
newl = 1;
word = tempstr;
while (word && *word) {
sp = index(word, ' ');
sp = strchr(word, ' ');
if (sp)
*sp++ = 0;

Expand All @@ -348,7 +348,7 @@ void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
if (wlen > room ||
(newl && wlen < 4 && sp
&& wlen + 1 + strlen(sp) > room
&& (!(sp2 = index(sp, ' '))
&& (!(sp2 = strchr(sp, ' '))
|| wlen + 1 + (sp2 - sp) > room))) {
cur_y++;
cur_x = x;
Expand Down

0 comments on commit 169bd7a

Please sign in to comment.