summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/video
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-07-31 11:38:59 +0000
committerStefan Reinauer <stepan@openbios.org>2009-07-31 11:38:59 +0000
commit131c0070a3b224e8ec2c817444f1ae4cf2419193 (patch)
tree5e787632bf0e783ba63b4b5dc4dc6af7801a3665 /payloads/libpayload/drivers/video
parente3f39b50cf4d6a5b7565bdb3eb173678de641b3d (diff)
downloadcoreboot-131c0070a3b224e8ec2c817444f1ae4cf2419193.tar.xz
* drop duplicate prototype for lib_get_sysinfo()
* fix delay handling in tiny curses keyboard driver * fix off by one error in video driver Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4473 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/drivers/video')
-rw-r--r--payloads/libpayload/drivers/video/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c
index 87b16b8a31..1eadce61cb 100644
--- a/payloads/libpayload/drivers/video/video.c
+++ b/payloads/libpayload/drivers/video/video.c
@@ -66,7 +66,7 @@ static void video_console_fixup_cursor(void)
if (cursory < 0)
cursory = 0;
- if (cursorx > VIDEO_COLS) {
+ if (cursorx >= VIDEO_COLS) {
cursorx = 0;
cursory++;
}