summaryrefslogtreecommitdiff
path: root/backend/hp3900_config.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/hp3900_config.c
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/hp3900_config.c')
-rw-r--r--backend/hp3900_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/hp3900_config.c b/backend/hp3900_config.c
index 3c0ed77..dba5302 100644
--- a/backend/hp3900_config.c
+++ b/backend/hp3900_config.c
@@ -243,7 +243,7 @@ enum fcsec6
CALIBOFFSET2ON,
OFFSETTUNESTEP2, OFFSETBOUNDARYRATIO2, OFFSETAVGRATIO2,
-
+
OFFSETEVEN2R, OFFSETEVEN2G, OFFSETEVEN2B,
OFFSETODD2R, OFFSETODD2G, OFFSETODD2B,
@@ -1049,7 +1049,7 @@ static SANE_Byte *cfg_motor_resource_get(SANE_Byte *size)
if (rst != NULL)
{
- bzero(rst, sizeof(SANE_Byte) * 32);
+ memset(rst, 0, sizeof(SANE_Byte) * 32);
switch(RTS_Debug->dev_model)
{
@@ -5622,7 +5622,7 @@ static int fitcalibrate_get(int section, int option, int defvalue)
case SCANINFO:
rst = fc_scaninfo_get(option, defvalue); break;
}
-
+
return rst;
}