diff options
| author | Mike Wey | 2012-03-11 19:47:23 +0100 |
|---|---|---|
| committer | Mike Wey | 2012-03-11 19:47:23 +0100 |
| commit | 19dd341ff1505f0e599e67b8da17810efddaa9b7 (patch) | |
| tree | f9455d66ccbf97d31aed20ff69a8f1d86b276979 | |
| parent | 949259ad614b16c5611a7f960576cd0bc51b98b9 (diff) | |
Image mistaken as an range because of the opDispatch.
| -rw-r--r-- | dmagick/Image.d | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dmagick/Image.d b/dmagick/Image.d index a6758d1..dcbb7c5 100644 --- a/dmagick/Image.d +++ b/dmagick/Image.d @@ -4063,6 +4063,7 @@ class Image * attribute, label, caption, comment, signature, and in some cases EXIF. */ void opDispatch(string property)(string value) + if ( property != "popFront" ) { SetImageProperty(imageRef, toStringz(property), toStringz(value)); @@ -4073,6 +4074,7 @@ class Image * Returns the value of the image property. */ auto opDispatch(string property)() + if ( property != "popFront" ) { return to!(string)(GetImageProperty(imageRef, toStringz(property))); } |
