1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/print/kover/files/patch-directory.cc
Martin Wilke 385b66774b - Update to version 4
PR:		168044
Submitted by:	Ports Fury
2012-05-22 15:24:37 +00:00

12 lines
474 B
C++

--- src/directory.cc.orig 2008-11-16 06:59:26.000000000 +0900
+++ src/directory.cc 2012-05-10 17:27:13.000000000 +0900
@@ -153,7 +153,7 @@
for (dir = childs.begin(); dir != childs.end(); dir++) {
printf("%s:%s:%d\n",(*dir)->get_current().c_str(),
path.c_str(),path.size());
- if (!(*dir)->get_current().compare(0,path.size(),path))
+ if (!(*dir)->get_current().compare(path))
return (*dir);
}
return this;