diff options
| author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1999-01-11 17:32:22 +0000 |
|---|---|---|
| committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1999-01-11 17:32:22 +0000 |
| commit | 61329bcee456644886c80315f35e38692bf43844 (patch) | |
| tree | e05d4a15eaa90307fb2752099a55aa1950973754 /sys/modules/splash | |
| parent | 9365684c0cd5a43189b2971f6d5e45b6f903009b (diff) | |
Notes
Diffstat (limited to 'sys/modules/splash')
| -rw-r--r-- | sys/modules/splash/bmp/splash_bmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c index ebf007a50059..bfb5916029e4 100644 --- a/sys/modules/splash/bmp/splash_bmp.c +++ b/sys/modules/splash/bmp/splash_bmp.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id:$ + * $Id: splash_bmp.c,v 1.1 1999/01/11 03:34:56 yokota Exp $ */ #include <sys/param.h> @@ -382,7 +382,7 @@ bmp_DecodeLine(BMP_INFO *info, int line) case BI_RGB: for (x = 0; x < info->width; x++, info->index++) bmp_SetPix(info, x, line, *info->index); - info->index += 4 - (x % 4); + info->index += 3 - (--x % 4); break; case BI_RLE4: bmp_DecodeRLE4(info, line); |
