summaryrefslogtreecommitdiff
path: root/scripts/lxdialog/util.c
authorkergoth <kergoth>2003-06-17 17:01:45 (UTC)
committer kergoth <kergoth>2003-06-17 17:01:45 (UTC)
commit384b7f1a42f9f2f101dc8fe11c3625055d96f672 (patch) (side-by-side diff)
treee4c0c83db7e60715be715f06fa221c45e616b00e /scripts/lxdialog/util.c
parent154d6deef15b9f7f83ea7a25f2079d9fca034910 (diff)
downloadopie-384b7f1a42f9f2f101dc8fe11c3625055d96f672.zip
opie-384b7f1a42f9f2f101dc8fe11c3625055d96f672.tar.gz
opie-384b7f1a42f9f2f101dc8fe11c3625055d96f672.tar.bz2
Update lxdialog version, and *build* lxdialog. no binary in cvs.
Diffstat (limited to 'scripts/lxdialog/util.c') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/lxdialog/util.c2
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
@@ -348,7 +348,7 @@ first_alpha(const char *string, const char *exempt)
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)