}
cursor->disable(cursor);
- if (fbcursor->set & FB_CUR_SETSIZE) {
+ if (fbcursor->set & FB_CUR_SETSIZE)
cursor->setSize(cursor, fbcursor->image.width, fbcursor->image.height);
- }
if (fbcursor->set & FB_CUR_SETPOS) {
cursor->setPos(cursor, fbcursor->image.dx - info->var.xoffset,
fbcursor->mask);
}
- if (fbcursor->enable) {
+ if (fbcursor->enable)
cursor->enable(cursor);
- }
return 0;
}
unsigned int base, pitch, Bpp, rop;
u32 color;
- if (info->state != FBINFO_STATE_RUNNING) {
+ if (info->state != FBINFO_STATE_RUNNING)
return;
- }
par = info->par;
share = par->share;