mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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);
|
Filename match(searchpath.get_directory(i), filename);
|
||||||
if (searchpath.get_directory(i) == "." &&
|
if (searchpath.get_directory(i) == "." &&
|
||||||
filename.is_fully_qualified()) {
|
filename.is_fully_qualified()) {
|
||||||
// A special case for the "." directory: to avoid prefixing
|
// A special case for the "." directory: to avoid prefixing an
|
||||||
// an endless stream of ./ in front of files, if the
|
// endless stream of ./ in front of files, if the filename
|
||||||
// filename already has a ./ prefixed
|
// already has a ./ prefixed (i.e. is_fully_qualified() is
|
||||||
// (i.e. is_fully_fully_qualified() is true), we don't
|
// true), we don't prefix another one.
|
||||||
// prefix another one.
|
|
||||||
match = filename;
|
match = filename;
|
||||||
}
|
}
|
||||||
PT(VirtualFile) found_file = get_file(match);
|
PT(VirtualFile) found_file = get_file(match);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user