projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5aadc
)
(no commit message)
author
cristy
<urban-warrior@git.imagemagick.org>
Sun, 29 Dec 2013 15:20:50 +0000
(15:20 +0000)
committer
cristy
<urban-warrior@git.imagemagick.org>
Sun, 29 Dec 2013 15:20:50 +0000
(15:20 +0000)
MagickCore/threshold.c
patch
|
blob
|
history
diff --git
a/MagickCore/threshold.c
b/MagickCore/threshold.c
index d1e63fc0d545ec0ca8736d940426429902c02a07..e7f1103bd77590e4750febc61c3021f2f973555c 100644
(file)
--- a/
MagickCore/threshold.c
+++ b/
MagickCore/threshold.c
@@
-885,11
+885,11
@@
MagickExport ThresholdMap *GetThresholdMap(const char *map_id,
map=GetThresholdMapFile((const char *) GetStringInfoDatum(option),
GetStringInfoPath(option),map_id,exception);
if (map != (ThresholdMap *) NULL)
-
return(map)
;
+
break
;
option=(const StringInfo *) GetNextValueInLinkedList(options);
}
options=DestroyConfigureOptions(options);
- return(
(ThresholdMap *) NULL
);
+ return(
map
);
}
\f
/*