From a41ad7ebc74ff5d484b3d45c5a5a4bece8f1a970 Mon Sep 17 00:00:00 2001 From: Stefani Seibold Date: Thu, 6 Aug 2009 15:07:30 -0700 Subject: [PATCH] --- yaml --- r: 156422 b: refs/heads/master c: 93274e4d4e9416ad1fa47e2f26011e2c483fe5fe h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/video/console/fbcon_rotate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 00d6b5b0a9f8..0caf55adf93d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 69dd647f969c28d18de77e2153f30d05a1874571 +refs/heads/master: 93274e4d4e9416ad1fa47e2f26011e2c483fe5fe diff --git a/trunk/drivers/video/console/fbcon_rotate.h b/trunk/drivers/video/console/fbcon_rotate.h index 75be5ce53dc5..e233444cda66 100644 --- a/trunk/drivers/video/console/fbcon_rotate.h +++ b/trunk/drivers/video/console/fbcon_rotate.h @@ -45,7 +45,7 @@ static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) width = (width + 7) & ~7; for (i = 0; i < height; i++) { - for (j = 0; j < width; j++) { + for (j = 0; j < width - shift; j++) { if (pattern_test_bit(j, i, width, in)) pattern_set_bit(width - (1 + j + shift), height - (1 + i),