aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-11 14:18:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-11 14:18:01 +0000
commit596beaa6c2b6811c8299cbc401b168493e1d80ed (patch)
tree5d6762682313bb152fd77b7f1d6e0b66396174b9
parent67bf731933fe0f9cc8353d8f3bbdfcd9a1bcb906 (diff)
downloadpaludis-596beaa6c2b6811c8299cbc401b168493e1d80ed.tar.gz
paludis-596beaa6c2b6811c8299cbc401b168493e1d80ed.tar.xz
fix
-rw-r--r--paludis/paludislike_options_conf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/paludislike_options_conf.cc b/paludis/paludislike_options_conf.cc
index d9b38f1..099e113 100644
--- a/paludis/paludislike_options_conf.cc
+++ b/paludis/paludislike_options_conf.cc
@@ -288,7 +288,7 @@ PaludisLikeOptionsConf::add_file(const FSEntry & f)
values_group->values().insert(make_named_values<Value>(
value_for<n::equals_value>(t->substr(equals_p + 1)),
value_for<n::minus>(false),
- value_for<n::unprefixed_name>(UnprefixedChoiceName(t->substr(0, equals_p - 1)))
+ value_for<n::unprefixed_name>(UnprefixedChoiceName(t->substr(0, equals_p)))
));
}
}