Update of /cvsroot/pclasses/pclasses2/src/System
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10841/src/System
Modified Files:
PathFinder.cpp
Log Message:
- Modified PathFinder to not search for the resource without any extension
Index: PathFinder.cpp
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/src/System/PathFinder.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- PathFinder.cpp 7 May 2005 13:23:39 -0000 1.7
+++ PathFinder.cpp 24 May 2005 04:19:49 -0000 1.8
@@ -146,13 +146,14 @@
if(!path.empty())
{
path = Path(path).absPath();
- path += Path::separator();
+ path += Unicode::String::fromAscii(Path::separator());
}
++piter;
- checkhere = path + resource;
- CHECKPATH(checkhere);
+ // do not check without extension ...
+ //checkhere = path + resource;
+ //CHECKPATH(checkhere);
eiter = _exts.begin();
while(eiter != _exts.end())
|