mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
typo in comment
This commit is contained in:
parent
18ced11d6c
commit
b4252e39a6
@ -353,11 +353,10 @@ find_file(const Filename &filename, const DSearchPath &searchpath) const {
|
||||
Filename match(searchpath.get_directory(i), filename);
|
||||
if (searchpath.get_directory(i) == "." &&
|
||||
filename.is_fully_qualified()) {
|
||||
// A special case for the "." directory: to avoid prefixing
|
||||
// an endless stream of ./ in front of files, if the
|
||||
// filename already has a ./ prefixed
|
||||
// (i.e. is_fully_fully_qualified() is true), we don't
|
||||
// prefix another one.
|
||||
// A special case for the "." directory: to avoid prefixing an
|
||||
// endless stream of ./ in front of files, if the filename
|
||||
// already has a ./ prefixed (i.e. is_fully_qualified() is
|
||||
// true), we don't prefix another one.
|
||||
match = filename;
|
||||
}
|
||||
PT(VirtualFile) found_file = get_file(match);
|
||||
|
Loading…
x
Reference in New Issue
Block a user