* eina: fix typo.
authorcedric <cedric>
Wed, 15 Dec 2010 11:14:47 +0000 (11:14 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 15 Dec 2010 11:14:47 +0000 (11:14 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55560 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_fp.c

index 73a2df0..8984b49 100644 (file)
@@ -453,7 +453,7 @@ eina_f32p32_cos(Eina_F32p32 a)
                               EINA_F32P32_PI);
    idx = eina_f32p32_int_to(interpol);
    if (idx >= MAX_PREC)
-      idx = 2 * MAX_PREC - (idx - 1);
+      idx = 2 * MAX_PREC - (idx + 1);
 
    index2 = idx + 1;
    if (index2 == MAX_PREC)