Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14617
b: refs/heads/master
c: b4627de
h: refs/heads/master
i:
  14615: 54a47b5
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Nov 22, 2005
1 parent e0c2463 commit 7b1ceb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 74a8a65c526187fe636a6a2abcb7d9ebc5c753ab
refs/heads/master: b4627dea032ab1f6e472fcf030e28f22ea971f9b
4 changes: 2 additions & 2 deletions trunk/drivers/video/console/fbcon_rotate.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat)
static inline void rotate_ud(const char *in, char *out, u32 width, u32 height)
{
int i, j;
int shift = width % 8;
int shift = (8 - (width % 8)) & 7;

width = (width + 7) & ~7;

Expand Down Expand Up @@ -85,7 +85,7 @@ static inline void rotate_cw(const char *in, char *out, u32 width, u32 height)
static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height)
{
int i, j, h = height, w = width;
int shift = width % 8;
int shift = (8 - (width % 8)) & 7;

width = (width + 7) & ~7;
height = (height + 7) & ~7;
Expand Down

0 comments on commit 7b1ceb1

Please sign in to comment.