diff dwt/dwthelper/BufferedOutputStream.d @ 36:db5a898b2119

Fixed a lot of compile errors
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 07 Oct 2008 12:56:18 +0200
parents 380af2bdd8e5
children
line wrap: on
line diff
--- a/dwt/dwthelper/BufferedOutputStream.d	Sun Sep 14 23:32:29 2008 +0200
+++ b/dwt/dwthelper/BufferedOutputStream.d	Tue Oct 07 12:56:18 2008 +0200
@@ -79,7 +79,7 @@
     {
         if (count > 0)
         {
-            ostr.write(buf, 0, count);
+            write(buf, 0, count);
             count = 0;
         }
     }
@@ -127,7 +127,7 @@
              flush the output buffer and then write the data directly.
              In this way buffered streams will cascade harmlessly. */
             flushBuffer();
-            ostr.write(b, off, len);
+            write(b, off, len);
             return;
         }