Mercurial > projects > dwt-win
comparison dwt/dwthelper/BufferedInputStream.d @ 197:184ab53b7785
Changes and fixes for jface
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 10 Apr 2008 11:19:49 +0200 |
parents | 5406a8f6526d |
children | f980ea238e72 |
comparison
equal
deleted
inserted
replaced
196:1e7701c27c03 | 197:184ab53b7785 |
---|---|
48 } | 48 } |
49 private void fill(){ | 49 private void fill(){ |
50 assert( pos == count ); | 50 assert( pos == count ); |
51 pos = 0; | 51 pos = 0; |
52 count = 0; | 52 count = 0; |
53 int count = getAndCheckIstr().read( buf ); | 53 count = getAndCheckIstr().read( buf ); |
54 if( count < 0 ){ | 54 if( count < 0 ){ |
55 count = 0; | 55 count = 0; |
56 istr = null; | 56 istr = null; |
57 } | 57 } |
58 } | 58 } |