diff options
Diffstat (limited to 'src/pdf_tilde.c')
-rw-r--r-- | src/pdf_tilde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf_tilde.c b/src/pdf_tilde.c index e55bcf0..ef06a59 100644 --- a/src/pdf_tilde.c +++ b/src/pdf_tilde.c @@ -78,8 +78,8 @@ static t_int *pdf_perform(t_int *w) while (n--) { t_float f = *in++; - int index = ((f + 1.0) * halfsize)+0.5; - buf[(index<0)?0:((index>=x->size)?x->size-1:index)]+=1.; + int iindex = ((f + 1.0) * halfsize)+0.5; + buf[(iindex<0)?0:((iindex>=x->size)?x->size-1:iindex)]+=1.; } return (w+4); } |