src/video/SDL_blit_0.c
changeset 91 e85e03f195b4
parent 0 74212992fb08
child 252 e8157fcb3114
     1.1 --- a/src/video/SDL_blit_0.c	Sat Jul 07 08:08:42 2001 +0000
     1.2 +++ b/src/video/SDL_blit_0.c	Sat Jul 07 20:20:17 2001 +0000
     1.3 @@ -55,7 +55,7 @@
     1.4  		while ( height-- ) {
     1.5  		        Uint8 byte = 0, bit;
     1.6  	    		for ( c=0; c<width; ++c ) {
     1.7 -				if ( (c%8) == 0 ) {
     1.8 +				if ( (c&7) == 0 ) {
     1.9  					byte = *src++;
    1.10  				}
    1.11  				bit = (byte&0x80)>>7;
    1.12 @@ -72,7 +72,7 @@
    1.13  		while ( height-- ) {
    1.14  		        Uint8 byte = 0, bit;
    1.15  	    		for ( c=0; c<width; ++c ) {
    1.16 -				if ( (c%8) == 0 ) {
    1.17 +				if ( (c&7) == 0 ) {
    1.18  					byte = *src++;
    1.19  				}
    1.20  				bit = (byte&0x80)>>7;
    1.21 @@ -108,7 +108,7 @@
    1.22  	while ( height-- ) {
    1.23  	        Uint8 byte = 0, bit;
    1.24  	    	for ( c=0; c<width; ++c ) {
    1.25 -			if ( (c%8) == 0 ) {
    1.26 +			if ( (c&7) == 0 ) {
    1.27  				byte = *src++;
    1.28  			}
    1.29  			bit = (byte&0x80)>>7;
    1.30 @@ -142,7 +142,7 @@
    1.31  	while ( height-- ) {
    1.32  	        Uint8 byte = 0, bit;
    1.33  	    	for ( c=0; c<width; ++c ) {
    1.34 -			if ( (c%8) == 0 ) {
    1.35 +			if ( (c&7) == 0 ) {
    1.36  				byte = *src++;
    1.37  			}
    1.38  			bit = (byte&0x80)>>7;
    1.39 @@ -180,7 +180,7 @@
    1.40  	while ( height-- ) {
    1.41  	        Uint8 byte = 0, bit;
    1.42  	    	for ( c=0; c<width; ++c ) {
    1.43 -			if ( (c%8) == 0 ) {
    1.44 +			if ( (c&7) == 0 ) {
    1.45  				byte = *src++;
    1.46  			}
    1.47  			bit = (byte&0x80)>>7;
    1.48 @@ -214,7 +214,7 @@
    1.49  		while ( height-- ) {
    1.50  		        Uint8  byte = 0, bit;
    1.51  	    		for ( c=0; c<width; ++c ) {
    1.52 -				if ( (c%8) == 0 ) {
    1.53 +				if ( (c&7) == 0 ) {
    1.54  					byte = *src++;
    1.55  				}
    1.56  				bit = (byte&0x80)>>7;
    1.57 @@ -231,7 +231,7 @@
    1.58  		while ( height-- ) {
    1.59  		        Uint8  byte = 0, bit;
    1.60  	    		for ( c=0; c<width; ++c ) {
    1.61 -				if ( (c%8) == 0 ) {
    1.62 +				if ( (c&7) == 0 ) {
    1.63  					byte = *src++;
    1.64  				}
    1.65  				bit = (byte&0x80)>>7;
    1.66 @@ -266,7 +266,7 @@
    1.67  	while ( height-- ) {
    1.68  	        Uint8 byte = 0, bit;
    1.69  	    	for ( c=0; c<width; ++c ) {
    1.70 -			if ( (c%8) == 0 ) {
    1.71 +			if ( (c&7) == 0 ) {
    1.72  				byte = *src++;
    1.73  			}
    1.74  			bit = (byte&0x80)>>7;
    1.75 @@ -299,7 +299,7 @@
    1.76  	while ( height-- ) {
    1.77  	        Uint8  byte = 0, bit;
    1.78  	    	for ( c=0; c<width; ++c ) {
    1.79 -			if ( (c%8) == 0 ) {
    1.80 +			if ( (c&7) == 0 ) {
    1.81  				byte = *src++;
    1.82  			}
    1.83  			bit = (byte&0x80)>>7;
    1.84 @@ -333,7 +333,7 @@
    1.85  	while ( height-- ) {
    1.86  	        Uint8 byte = 0, bit;
    1.87  	    	for ( c=0; c<width; ++c ) {
    1.88 -			if ( (c%8) == 0 ) {
    1.89 +			if ( (c&7) == 0 ) {
    1.90  				byte = *src++;
    1.91  			}
    1.92  			bit = (byte&0x80)>>7;
    1.93 @@ -369,7 +369,7 @@
    1.94  	while ( height-- ) {
    1.95  	        Uint8 byte = 0, bit;
    1.96  	    	for ( c=0; c<width; ++c ) {
    1.97 -			if ( (c%8) == 0 ) {
    1.98 +			if ( (c&7) == 0 ) {
    1.99  				byte = *src++;
   1.100  			}
   1.101  			bit = (byte&0x80)>>7;
   1.102 @@ -416,7 +416,7 @@
   1.103  	while ( height-- ) {
   1.104  	        Uint8  byte = 0, bit;
   1.105  	    	for ( c=0; c<width; ++c ) {
   1.106 -			if ( (c%8) == 0 ) {
   1.107 +			if ( (c&7) == 0 ) {
   1.108  				byte = *src++;
   1.109  			}
   1.110  			bit = (byte&0x80)>>7;