summaryrefslogtreecommitdiff
path: root/magick/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'magick/resource.c')
-rw-r--r--magick/resource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/magick/resource.c b/magick/resource.c
index 2e4a453..c9fc6f7 100644
--- a/magick/resource.c
+++ b/magick/resource.c
@@ -203,7 +203,7 @@ AcquireMagickResource(const ResourceType type,
break;
}
}
- if (IsEventLogging())
+ if (IsEventLogged(ResourceEvent))
{
char
f_limit[MaxTextExtent],
@@ -785,7 +785,7 @@ MagickExport void LiberateMagickResource(const ResourceType type,
}
}
- if (IsEventLogging())
+ if (IsEventLogged(ResourceEvent))
{
char
f_limit[MaxTextExtent],