ndk-busybox/miscutils
Yin Kangkai 3ac066c256 fbsplash: use line_length instead of xres * bytes_per_pixel
In some system (e.g. my "strange" device), line_length is not equal xres *
bytes_per_pixel, so we need to use line_length in scr_fix to mmap and draw
rectangle etc.

My "strange" device output this:
bytes_per_pixel: 4
xres: 600, yres: 1024
yoffset: 0, xoffset: 0, line_length: 2432
G.addr: b74da000

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-02-29 18:07:59 +01:00
..
adjtimex.c a few tweaks for bionic 2011-07-08 08:34:28 +02:00
bbconfig.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
beep.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
chat.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
chrt.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
Config.src less: optionally query terminal size via "ESC [ 6 n". Closes bug 2659. 2011-07-25 15:18:20 +02:00
conspy.c conspy: add framebuffer support, -Q option. 2011-09-13 18:39:04 +02:00
crond.c crond: fix the case when option -d is disabled 2011-09-07 05:56:09 +02:00
crontab.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
dc.c dc: fix a case where we can run off malloced space 2011-07-15 08:37:36 +02:00
devfsd.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
devmem.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
eject.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
fbsplash.c fbsplash: use line_length instead of xres * bytes_per_pixel 2012-02-29 18:07:59 +01:00
fbsplash.cfg fbsplash: cosmetic comment and Config text fixes; rename .ini -> .cfg 2008-03-26 15:12:11 +00:00
flash_eraseall.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
flash_lock_unlock.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
flashcp.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
hdparm.c add INIT_G()'s. No code changes. 2011-09-21 01:59:15 +02:00
inotifyd.c inotify: if PROG is -, print events to stdout 2011-10-10 20:24:02 +02:00
ionice.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
last_fancy.c fix "variable 'foo' set but not used" warnings 2011-05-13 20:57:01 +02:00
last.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
less.c Fixes for warnings in FreeBSD build 2011-08-28 05:31:49 +02:00
makedevs.c makedevs: fix help-text 2011-05-30 23:00:47 +02:00
man.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
microcom.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mountpoint.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mt.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
nandwrite.c conspy,nandwrite,nanddump: enable in defconfig 2011-08-13 09:00:29 +02:00
raidautorun.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
readahead.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
rfkill.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
runlevel.c whitespace fixes 2011-10-28 14:07:44 +02:00
rx.c rx: fix file corruption on block checksum failure 2011-11-23 12:07:31 +01:00
setserial.c a few tweaks for bionic 2011-07-08 08:34:28 +02:00
setsid.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
strings.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
taskset.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
time.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
timeout.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
ttysize.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
ubi_tools.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
volname.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
wall.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
watchdog.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00