Kaydet (Commit) b9d4244b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#736943 try another experimental warning workaround

Change-Id: I4fc951e21915f7cbb03ee10fd2c9c4977a2f510a
üst 1c3e3557
......@@ -845,8 +845,8 @@ bool PrintFontManager::analyzeFontFile( int nDirID, const OString& rFontFile, ::
//http://processingjs.nihongoresources.com/the_smallest_font/
//https://github.com/grzegorzrolek/null-ttf
const int nMaxFontsPossible = fileSize / 528;
nLength = std::min(nMaxFontsPossible, nLength);
if (nLength > nMaxFontsPossible)
nLength = nMaxFontsPossible;
for( int i = 0; i < nLength; i++ )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment