summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro J. Ruiz Lopez <holzplatten@es.gnu.org>2010-11-11 18:23:49 +0100
committerPedro J. Ruiz Lopez <holzplatten@es.gnu.org>2010-11-11 18:47:00 +0100
commitdb85b89db348288a52a6e9608e55b1fdf46713ad (patch)
treedd705d0250eb36e9580e89d7e0f0d60b986274a9
parent57eecc80290c10e0a6e63396d91b1e6cadb9a6be (diff)
downloadidutils-db85b89db348288a52a6e9608e55b1fdf46713ad.tar.gz
idutils-db85b89db348288a52a6e9608e55b1fdf46713ad.tar.bz2
idutils-db85b89db348288a52a6e9608e55b1fdf46713ad.zip
mkid, xtokid: fixed conflict checking between include/exclude lang options.
* libidu/walker.c: fixed condition.
-rw-r--r--libidu/walker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libidu/walker.c b/libidu/walker.c
index 41785f4..b268ac5 100644
--- a/libidu/walker.c
+++ b/libidu/walker.c
@@ -502,7 +502,7 @@ include_languages (char *lang_names)
void
exclude_languages (char *lang_names)
{
- if (langs_excluded)
+ if (langs_included)
error (EXIT_FAILURE, 0, _("can't mix --include and --exclude options"));
langs_excluded = append_strings_to_vector (langs_excluded, lang_names, white_space);
}