[kaffe] patch correcting awt bug

Nicolas Le Sommer Nicolas.Le-Sommer@univ-ubs.fr
Tue, 29 Oct 2002 09:55:54 +0100


This is a multi-part message in MIME format.
--------------020608050407010001070809
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Please find attached a patch correcting a bug in the 
java/awt/image/DirectColorModel.java

Best regards,

Nico


--------------020608050407010001070809
Content-Type: text/plain;
 name="patch_java_awt_image_DirectColorModel.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch_java_awt_image_DirectColorModel.txt"

55c55
< 	if ( bshift != 0 ) {		
---
> 	if ( bmask != 0 ) {		
121c121
< 	for ( i=0; (mask & 1) == 0; i++ )
---
> 	for ( i=0; ((mask & 1) == 0); i++ )
124c124
< 	for ( j=0; (mask & 1) != 0; j++ )
---
> 	for ( j=0; ((mask & 1) != 0); j++ )

--------------020608050407010001070809--