author | kergoth <kergoth> | 2003-06-17 17:01:45 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-06-17 17:01:45 (UTC) |
commit | 384b7f1a42f9f2f101dc8fe11c3625055d96f672 (patch) (side-by-side diff) | |
tree | e4c0c83db7e60715be715f06fa221c45e616b00e /scripts/lxdialog/util.c | |
parent | 154d6deef15b9f7f83ea7a25f2079d9fca034910 (diff) | |
download | opie-384b7f1a42f9f2f101dc8fe11c3625055d96f672.zip opie-384b7f1a42f9f2f101dc8fe11c3625055d96f672.tar.gz opie-384b7f1a42f9f2f101dc8fe11c3625055d96f672.tar.bz2 |
Update lxdialog version, and *build* lxdialog. no binary in cvs.
-rw-r--r-- | scripts/lxdialog/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lxdialog/util.c b/scripts/lxdialog/util.c index b3a7af9..e7bce9b 100644 --- a/scripts/lxdialog/util.c +++ b/scripts/lxdialog/util.c @@ -347,9 +347,9 @@ first_alpha(const char *string, const char *exempt) for (i = 0; i < strlen(string); i++) { c = tolower(string[i]); if (strchr("<[(", c)) ++in_paren; - if (strchr(">])", c)) --in_paren; + if (strchr(">])", c) && in_paren > 0) --in_paren; if ((! in_paren) && isalpha(c) && strchr(exempt, c) == 0) return i; |