in debug message print the filename that caused the error

This commit is contained in:
Andras Timar 2012-04-18 18:50:22 +02:00
parent d85b7f1548
commit 8c1f7d99f2

View file

@ -178,9 +178,12 @@ bool HelpParser::CreateSDF(
if( !data.isEmpty() )
aSDFStream << sOut.getStr() << '\n';
pXMLElement=NULL;
}else fprintf(stdout,"\nDBG: NullPointer in HelpParser::CreateSDF , Language %s\n",sCur.getStr() );
}
else
{
fprintf(stdout,"\nDBG: NullPointer in HelpParser::CreateSDF, Language %s, File %s\n", sCur.getStr(), sHelpFile.getStr());
}
}
}
aSDFStream.close();