summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-10-05 09:07:25 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-10-05 09:07:25 (GMT)
commit3102b81d682bf0b3b4dd50148434ab8e575a3d2e (patch)
tree9ff275a866b1660085cb0e638922291f5b2abd36 /src/pre.l
parent631bd3426f23c6a69b8a19156b25387ceba007d4 (diff)
downloadDoxygen-3102b81d682bf0b3b4dd50148434ab8e575a3d2e.zip
Doxygen-3102b81d682bf0b3b4dd50148434ab8e575a3d2e.tar.gz
Doxygen-3102b81d682bf0b3b4dd50148434ab8e575a3d2e.tar.bz2
Release-1.5.7.1
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index ffb447e..5040a2a 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -111,7 +111,8 @@ DefineDict* getFileDefineDict() {
static void setFileName(const char *name)
{
bool ambig;
- g_yyFileName=name;
+ QFileInfo fi(name);
+ g_yyFileName=convertToQCString(fi.absFilePath());
g_yyFileDef=findFileDef(Doxygen::inputNameDict,g_yyFileName,ambig);
if (g_yyFileDef && g_yyFileDef->isReference()) g_yyFileDef=0;
}