diff dwtx/jface/text/TextAttribute.d @ 138:b6bad70d540a

Regex instanceof changes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:26:23 +0200
parents 51e6e63f930e
children 000f9136b8f7
line wrap: on
line diff
--- a/dwtx/jface/text/TextAttribute.d	Sun Aug 24 02:22:48 2008 +0200
+++ b/dwtx/jface/text/TextAttribute.d	Sun Aug 24 02:26:23 2008 +0200
@@ -253,7 +253,7 @@
         if (object is this)
             return true;
 
-        if (!(object instanceof TextAttribute))
+        if (!( cast(TextAttribute)object ))
             return false;
         TextAttribute a= cast(TextAttribute)object;