projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b1a1b
)
Corrected return statement.
author
Dirk Lemstra
<dirk@lemstra.org>
Thu, 4 Oct 2018 20:40:20 +0000
(22:40 +0200)
committer
Dirk Lemstra
<dirk@lemstra.org>
Thu, 4 Oct 2018 20:40:20 +0000
(22:40 +0200)
MagickCore/magick.c
patch
|
blob
|
history
diff --git
a/MagickCore/magick.c
b/MagickCore/magick.c
index 86516f707499e89a6ede60db90565c9807d2e5e3..532e95b7d268724275ae37315d7f8fdcd557eaa1 100644
(file)
--- a/
MagickCore/magick.c
+++ b/
MagickCore/magick.c
@@
-636,7
+636,7
@@
MagickExport const MagickInfo *GetMagickInfo(const char *name,
UnlockSemaphoreInfo(magick_semaphore);
}
if ((name == (const char *) NULL) || (LocaleCompare(name,"*") == 0))
-
magick_info=(const MagickInfo *) GetRootValueFromSplayTree(magick_list
);
+
return((const MagickInfo *) GetRootValueFromSplayTree(magick_list)
);
if (magick_info == (const MagickInfo *) NULL)
magick_info=(const MagickInfo *) GetValueFromSplayTree(magick_list,name);
return(magick_info);