aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-30 15:53:40 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-30 15:53:40 +0000
commit4f3c3dbc12a6cdd57136f7a377f81ea8521ac594 (patch)
treecc32ca7d51a16f6be1cb431914758d43a45c6422
parentab048d61cc539805070aca09d530aa392adcd48c (diff)
downloadpaludis-4f3c3dbc12a6cdd57136f7a377f81ea8521ac594.tar.gz
paludis-4f3c3dbc12a6cdd57136f7a377f81ea8521ac594.tar.xz
Rerefix strip...
-rw-r--r--paludis/strip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/strip.cc b/paludis/strip.cc
index 7a7fe35..5a8c946 100644
--- a/paludis/strip.cc
+++ b/paludis/strip.cc
@@ -59,7 +59,7 @@ namespace paludis
{
try
{
- if (suffix.length() >= s.length())
+ if (suffix.length() > s.length())
return s;
else if (0 == s.compare(s.length() - suffix.length(), suffix.length(), suffix))
return s.substr(0, s.length() - suffix.length());