]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_entitycontainer.cpp
Fixed preview rendering for ActionDrawLine...
[architektonas] / src / base / rs_entitycontainer.cpp
index 8434b9cc86a22e009e3e7c56f2470ca35c2af724..a13c0d6fc82ea385193d560c8f8da65eade50357 100644 (file)
@@ -348,7 +348,7 @@ void RS_EntityContainer::addEntity(RS_Entity * entity)
        */
 //printf("RS_EntityContainer::addEntity(): entity=%08X\n", entity);
 
-       if (entity == NULL)
+       if (!entity)
                return;
 
        if (entity->rtti() == RS2::EntityImage || entity->rtti() == RS2::EntityHatch)