From owner-freebsd-current Mon Jan 11 23:01:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA07365 for freebsd-current-outgoing; Mon, 11 Jan 1999 23:01:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA07357 for ; Mon, 11 Jan 1999 23:01:36 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:XnY/02GLp1Hnf+dv9ZuxH1TJFNnhMUSQ@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.1/8.9.1) with ESMTP id QAA06921; Tue, 12 Jan 1999 16:00:49 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id PAA11303; Tue, 12 Jan 1999 15:25:38 +0900 (JST) Message-Id: <199901120625.PAA11303@zodiac.mech.utsunomiya-u.ac.jp> To: Kevin Street cc: current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: Splash crash In-reply-to: Your message of "Tue, 12 Jan 1999 00:24:15 EST." <13978.56447.856338.251015@mired.eh.local> References: <87ogo5wdcn.fsf@mired.eh.local> <199901120117.KAA29737@zodiac.mech.utsunomiya-u.ac.jp> <13978.56447.856338.251015@mired.eh.local> Date: Tue, 12 Jan 1999 15:25:37 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I sprinkled some printf's around and it appears that my .bmp is >strange. I saved it in Windows as a 256 colour format, but splash_bmp >seems to think it has 512. > >I'm puzzled by the `2' in here (from bmp_Init) though: > bmp_info.ncols = 2 << bmf->bmfi.bmiHeader.biBitCount; Yes, this is indeed a typo! Thank you for spotting! >but I don't know what biBitCount really means. Changing it to a `1' >in hopes that it was a typo gets rid of the error message, but doesn't >get me a splash screen. My .bmp probably really is wrong. Hmm, Would you show me the first few lines from the dump of the file? hd _your_bmp_file_ | head -20 Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message