Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271196
b: refs/heads/master
c: 465cb7e
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart committed Aug 19, 2011
1 parent 0b5bdb1 commit 69e172d
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: 8b76c6827991858a52841b6c20fea91a12499d6f
refs/heads/master: 465cb7e700e8564fd2d76d5c7f3703eb07659617
4 changes: 2 additions & 2 deletions trunk/drivers/video/fb-puv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ static int unifb_pan_display(struct fb_var_screeninfo *var,
|| var->xoffset)
return -EINVAL;
} else {
if (var->xoffset + var->xres > info->var.xres_virtual ||
var->yoffset + var->yres > info->var.yres_virtual)
if (var->xoffset + info->var.xres > info->var.xres_virtual ||
var->yoffset + info->var.yres > info->var.yres_virtual)
return -EINVAL;
}
info->var.xoffset = var->xoffset;
Expand Down

0 comments on commit 69e172d

Please sign in to comment.