Mercurial > projects > dwt-addons
diff dwtx/jface/internal/text/html/SingleCharReader.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 25f1f92fa3df |
children |
line wrap: on
line diff
--- a/dwtx/jface/internal/text/html/SingleCharReader.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/internal/text/html/SingleCharReader.d Mon Sep 08 00:51:37 2008 +0200 @@ -47,7 +47,7 @@ return -1; return i - off; } - cbuf[i]= cast(wchar)ch; + cbuf[i]= cast(char)ch; } return len; } @@ -68,7 +68,7 @@ StringBuffer buf= new StringBuffer(); int ch; while ((ch= read()) !is -1) { - buf.append(cast(wchar)ch); + buf.append(cast(char)ch); } return buf.toString(); }