X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_entitycontainer.cpp;h=94f3a4ceb09aa4382b809454d930436bb49a5b70;hb=d774c2655ba2c3657a565f325411144452392277;hp=8434b9cc86a22e009e3e7c56f2470ca35c2af724;hpb=27d4a138d23453e93a833e9347444b828a971cb4;p=architektonas diff --git a/src/base/rs_entitycontainer.cpp b/src/base/rs_entitycontainer.cpp index 8434b9c..94f3a4c 100644 --- a/src/base/rs_entitycontainer.cpp +++ b/src/base/rs_entitycontainer.cpp @@ -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)