]> git.saurik.com Git - cycript.git/commitdiff
Remove now-obsolete prefix size clip.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 27 Apr 2010 21:16:34 +0000 (21:16 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 27 Apr 2010 21:16:34 +0000 (21:16 +0000)
Console.cpp

index c4303f683344f2b77bd16374f00cca15e44318d1..3fe2310617fe7ff404a151708c6039add3f7911a 100644 (file)
@@ -358,12 +358,6 @@ static char **Complete(const char *word, int start, int end) {
     if (count == 0)
         return NULL;
 
-    if (!common.empty()) {
-        size_t size(prefix.str().size());
-        _assert(common.size() >= size);
-        common = common.substr(size);
-    }
-
     size_t colon(common.find(':'));
     if (colon != std::string::npos)
         common = common.substr(0, colon + 1);