From 19dd341ff1505f0e599e67b8da17810efddaa9b7 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 11 Mar 2012 19:47:23 +0100 Subject: Image mistaken as an range because of the opDispatch. --- dmagick/Image.d | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dmagick/Image.d') 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))); } -- cgit v1.2.3