mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1334 from moadib/gles20
Fixed statement which works but incorrect from point of C++ standard
This commit is contained in:
commit
d662082ef1
|
@ -152,7 +152,10 @@ public:
|
|||
pwszBuffer = NULL;
|
||||
}
|
||||
}
|
||||
fontPath.size()>0?(m_curFontPath = fontPath):(m_curFontPath.clear());
|
||||
if (fontPath.size() > 0)
|
||||
m_curFontPath = fontPath;
|
||||
else
|
||||
m_curFontPath.clear();
|
||||
// register temp font
|
||||
if (m_curFontPath.size() > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue