diff dwt/custom/StyledTextRenderer.d @ 5:1a8b3cb347e0

Fix Ctors to 'this'
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 14:02:31 +0200
parents 380af2bdd8e5
children e831403a80a9
line wrap: on
line diff
--- a/dwt/custom/StyledTextRenderer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyledTextRenderer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -75,9 +75,9 @@
         bool justify;
         int[] segments;
 
-        public LineInfo() {
+        public this() {
         }
-        public LineInfo(LineInfo info) {
+        public this(LineInfo info) {
             if (info !is null) {
                 flags = info.flags;
                 background = info.background;
@@ -89,7 +89,7 @@
         }
     }
     
-StyledTextRenderer(Device device, StyledText styledText) {
+this(Device device, StyledText styledText) {
     this.device = device;
     this.styledText = styledText;
 }