aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-04-24 20:20:27 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-04-24 20:20:27 +0300
commit17c36422d4cbc2c70d5c83ec389406f92cd9e85e (patch)
tree4e638063067d9f96b80fd2fa3b729aac8471e99b
parentAdded two assert()s. (diff)
downloadxz-17c36422d4cbc2c70d5c83ec389406f92cd9e85e.tar.xz
Fixed a bug in command line option parsing.
-rw-r--r--src/lzma/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lzma/options.c b/src/lzma/options.c
index 2928aafc..c82cb1a0 100644
--- a/src/lzma/options.c
+++ b/src/lzma/options.c
@@ -113,7 +113,7 @@ parse_options(const char *str, const option_map *opts,
my_exit(ERROR);
}
- set(filter_options, i, j);
+ set(filter_options, i, opts[i].map[j].id);
}
found = true;