Mercurial > projects > dwt-mac
diff dwt/browser/MozillaDelegate.d @ 17:5b53d338c709
Fixed some errors after latest merge
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 29 Aug 2008 22:04:22 +0200 |
parents | f565d3a95c0a e831403a80a9 |
children | db5a898b2119 |
line wrap: on
line diff
--- a/dwt/browser/MozillaDelegate.d Fri Aug 29 21:47:55 2008 +0200 +++ b/dwt/browser/MozillaDelegate.d Fri Aug 29 22:04:22 2008 +0200 @@ -66,10 +66,10 @@ // range.length = chars.length; // int encoding = OS.CFStringGetSystemEncoding (); // int[] size = new int[1]; - // int numChars = OS.CFStringGetBytes (cfString, range, encoding, (byte)'?', true, null, 0, size); + // int numChars = OS.CFStringGetBytes (cfString, range, encoding, cast(byte)'?', true, null, 0, size); // buffer = new byte [size[0] + (terminate ? 1 : 0)]; // if (numChars !is 0) { - // numChars = OS.CFStringGetBytes (cfString, range, encoding, (byte)'?', true, buffer, size[0], size); + // numChars = OS.CFStringGetBytes (cfString, range, encoding, cast(byte)'?', true, buffer, size[0], size); // } // OS.CFRelease (cfString); // }