diff options
Diffstat (limited to 'mi')
-rw-r--r-- | mi/miarc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mi/miarc.c b/mi/miarc.c index b4b684ba8..5fd1a678a 100644 --- a/mi/miarc.c +++ b/mi/miarc.c @@ -62,7 +62,6 @@ SOFTWARE. #include "mifpoly.h" #include "mi.h" #include "mifillarc.h" -#include "registry.h" #include <X11/Xfuncproto.h> static double miDsin(double a); @@ -867,8 +866,7 @@ miComputeWideEllipse( } if (!cacheType) { - cacheType = CreateNewResourceType(miFreeArcCache); - RegisterResourceName(cacheType, "miArcCache"); + cacheType = CreateNewResourceType(miFreeArcCache, "miArcCache"); (void) AddResource(FakeClientID(0), cacheType, NULL); } } else { |