projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve pos of rset_create_or
[idzebra-moved-to-github.git]
/
rset
/
rsmultiandor.c
diff --git
a/rset/rsmultiandor.c
b/rset/rsmultiandor.c
index
2ff6e23
..
f65039a
100644
(file)
--- a/
rset/rsmultiandor.c
+++ b/
rset/rsmultiandor.c
@@
-630,7
+630,8
@@
static void r_pos_x(RSFD rfd, double *current, double *total, int and_op)
}
else
{
- sum_cur += cur;
+ if (cur > 0)
+ sum_cur += (cur - 1);
sum_tot += tot;
}
}