]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_entitycontainer.cpp
In the middle of major refactoring...
[architektonas] / src / base / rs_entitycontainer.cpp
index 8434b9cc86a22e009e3e7c56f2470ca35c2af724..94f3a4ceb09aa4382b809454d930436bb49a5b70 100644 (file)
@@ -25,7 +25,7 @@
 #include "rs_spline.h"
 #include "rs_information.h"
 #include "graphicview.h"
-#include "paintintf.h"
+#include "paintinterface.h"
 
 bool RS_EntityContainer::autoUpdateBorders = true;
 
@@ -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)