aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-02 13:42:38 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-02 13:42:38 +0000
commit3c29a5803009609d21ec472c80c9866b7565ee40 (patch)
tree1609e4984dac40828b5593527bea6971cb62c98c
parentf0fdac0122bb7279d8214c9531a41cf879f9ed41 (diff)
downloadpaludis-3c29a5803009609d21ec472c80c9866b7565ee40.tar.gz
paludis-3c29a5803009609d21ec472c80c9866b7565ee40.tar.xz
oops
-rw-r--r--paludis/dep_list/dep_list.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/dep_list/dep_list.cc b/paludis/dep_list/dep_list.cc
index 074ce9c..5e4b924 100644
--- a/paludis/dep_list/dep_list.cc
+++ b/paludis/dep_list/dep_list.cc
@@ -820,16 +820,16 @@ namespace
case 3:
return false;
+ default:
+ if (0 == pkg.compare(pkg.length() - 5, 5, "-live"))
+ return true;
+
case 4:
if (0 == pkg.compare(pkg.length() - 4, 4, "-cvs"))
return true;
if (0 == pkg.compare(pkg.length() - 4, 4, "-svn"))
return true;
return false;
-
- default:
- if (0 == pkg.compare(pkg.length() - 5, 5, "-live"))
- return true;
}
return false;
}