summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordirk <dirk@git.imagemagick.org>2016-07-19 22:17:40 +0200
committerdirk <dirk@git.imagemagick.org>2016-07-19 22:17:40 +0200
commit004a3a810bab060902caeba76ec780d13d9e64ec (patch)
treea6c20d6a21518d2c18c8acf245df5aea8e2a1057
parent903e501876d405ffd6f9f38f5e72db9acc3d15e8 (diff)
downloadImageMagick-004a3a810bab060902caeba76ec780d13d9e64ec.tar.gz
Fixed replacing of variable name.
-rw-r--r--MagickCore/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MagickCore/locale.c b/MagickCore/locale.c
index 9ee5ae7c6..e9c4b5028 100644
--- a/MagickCore/locale.c
+++ b/MagickCore/locale.c
@@ -193,7 +193,7 @@ static SplayTreeInfo *AcquireLocaleSplayTree(const char *filename,
cache=NewSplayTree(CompareSplayTreeString,(void *(*)(void *)) NULL,
DestroyLocaleNode);
- if (locale_cache == (SplayTreeInfo *) NULL)
+ if (cache == (SplayTreeInfo *) NULL)
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
status=MagickTrue;
#if !defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT)