Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5797
b: refs/heads/master
c: 3edea48
h: refs/heads/master
i:
  5795: a35e60a
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Aug 15, 2005
1 parent 7045824 commit 12fd579
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: 6bd49341f2806168c877e12cefca77b93437bac2
refs/heads/master: 3edea4833a1efcd43e1dff082bc8001fdfe74b34
4 changes: 2 additions & 2 deletions trunk/drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var)
int
fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var)
{
int err;
int err, flags = info->flags;

if (var->activate & FB_ACTIVATE_INV_MODE) {
struct fb_videomode mode1, mode2;
Expand Down Expand Up @@ -682,7 +682,7 @@ fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var)
!list_empty(&info->modelist))
err = fb_add_videomode(&mode, &info->modelist);

if (!err && info->flags & FBINFO_MISC_USEREVENT) {
if (!err && (flags & FBINFO_MISC_USEREVENT)) {
struct fb_event event;

info->flags &= ~FBINFO_MISC_USEREVENT;
Expand Down

0 comments on commit 12fd579

Please sign in to comment.