summaryrefslogtreecommitdiff
path: root/coders/txt.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/txt.c')
-rw-r--r--coders/txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coders/txt.c b/coders/txt.c
index ba47f4b..688d331 100644
--- a/coders/txt.c
+++ b/coders/txt.c
@@ -1,5 +1,5 @@
/*
-% Copyright (C) 2003-2020 GraphicsMagick Group
+% Copyright (C) 2003-2022 GraphicsMagick Group
% Copyright (C) 2002 ImageMagick Studio
% Copyright 1991-1999 E. I. du Pont de Nemours and Company
%
@@ -328,7 +328,7 @@ static Image *ReadTXTImage(const ImageInfo *image_info,ExceptionInfo *exception)
assert(exception != (ExceptionInfo *) NULL);
assert(exception->signature == MagickSignature);
- logging = IsEventLogging();
+ logging = IsEventLogged(CoderEvent);
image=AllocateImage(image_info);
status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
if (status == False)