Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
sane-backends
fix-mustek_pp_ccd300.c.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-mustek_pp_ccd300.c.patch of Package sane-backends
--- backend/mustek_pp_ccd300.c.orig 2003-12-01 12:52:19.000000000 +0100 +++ backend/mustek_pp_ccd300.c 2009-07-29 16:29:54.000000000 +0200 @@ -940,10 +940,10 @@ get_color_line_101x (Mustek_pp_Handle * wait_bank_change (dev, priv->bank_count, 1); reset_bank_count (dev); if (priv->ccd_line >= (priv->line_step >> SANE_FIXED_SCALE_SHIFT)) - priv->redline = ++priv->redline % priv->green_offs; + priv->redline = (priv->redline + 1) % priv->green_offs; if (priv->ccd_line >= priv->blue_offs + (priv->line_step >> SANE_FIXED_SCALE_SHIFT)) - priv->blueline = ++priv->blueline % priv->blue_offs; + priv->blueline = (priv->blueline + 1) % priv->blue_offs; continue; } @@ -979,7 +979,7 @@ get_color_line_101x (Mustek_pp_Handle * } - priv->redline = ++priv->redline % priv->green_offs; + priv->redline = (priv->redline + 1) % priv->green_offs; if (priv->ccd_line >= priv->green_offs && gogreen) { @@ -1013,7 +1013,7 @@ get_color_line_101x (Mustek_pp_Handle * if (priv->ccd_line >= priv->blue_offs + (priv->line_step >> SANE_FIXED_SCALE_SHIFT)) - priv->blueline = ++priv->blueline % priv->blue_offs; + priv->blueline = (priv->blueline + 1) % priv->blue_offs; if (gogreen) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor