diff dwt/graphics/RGB.d @ 37:642f460a0908

Fixed a lot of compile errors, a "hello world" app compiles now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 10 Oct 2008 12:29:48 +0200
parents db5a898b2119
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/graphics/RGB.d	Tue Oct 07 12:56:18 2008 +0200
+++ b/dwt/graphics/RGB.d	Fri Oct 10 12:29:48 2008 +0200
@@ -184,7 +184,7 @@
         hue *= 60;
         if (hue < 0) hue += 360;
     }
-    return new float[] [hue, saturation, brightness];
+    return [hue, saturation, brightness];
 }   
 
 /**