aboutsummaryrefslogtreecommitdiff
path: root/frontend/pisa_tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/pisa_tool.h')
-rw-r--r--frontend/pisa_tool.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/frontend/pisa_tool.h b/frontend/pisa_tool.h
index e4edae3..39980b4 100644
--- a/frontend/pisa_tool.h
+++ b/frontend/pisa_tool.h
@@ -1,4 +1,4 @@
-/*
+/*
SANE EPSON backend
Copyright (C) 2001 SEIKO EPSON CORPORATION
@@ -45,11 +45,7 @@ Type similarity ( const Type & A,
if ( a == 0 )
return 0;
- if ( 0 < A )
- B = ( b * A + a / 2 ) / a;
- else
- B = ( b * A - a / 2 ) / a;
-
+ B = ( b * A ) / a;
return B;
}