Skip to content

Commit f1cb5de

Browse files
committed
issue #10449 \include{doc} ignores EXAMPLE_PATH
1 parent 36735cd commit f1cb5de

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/util.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,11 +3278,14 @@ QCString findFilePath(const QCString &file,bool &ambig)
32783278
ambig=false;
32793279
QCString result;
32803280
bool found=false;
3281-
FileInfo fi(file.str());
3282-
if (fi.exists())
3281+
if (!found)
32833282
{
3284-
result=fi.absFilePath();
3285-
found=true;
3283+
FileInfo fi(file.str());
3284+
if (fi.exists())
3285+
{
3286+
result=fi.absFilePath();
3287+
found=true;
3288+
}
32863289
}
32873290
if (!found)
32883291
{

0 commit comments

Comments
 (0)