mirror of https://github.com/axmolengine/axmol.git
Fix code formatting
This commit is contained in:
parent
9b2b3de565
commit
49fb6f7205
|
@ -239,9 +239,9 @@ bool FontAtlasCache::releaseFontAtlas(FontAtlas *atlas)
|
||||||
{
|
{
|
||||||
if (atlas->getReferenceCount() == 1)
|
if (atlas->getReferenceCount() == 1)
|
||||||
{
|
{
|
||||||
for( auto &item: _atlasMap )
|
for (auto& item: _atlasMap)
|
||||||
{
|
{
|
||||||
if ( item.second == atlas )
|
if (item.second == atlas)
|
||||||
{
|
{
|
||||||
_atlasMap.erase(item.first);
|
_atlasMap.erase(item.first);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue