X-Git-Url: https://git.sur5r.net/?p=cc65;a=blobdiff_plain;f=samples%2Ftgidemo.c;h=1d76fee2e3974d6815e6f2fb60542127d6e7bef2;hp=6f3b86abc0bcbdc0706a61ea64c9c528cf146a4b;hb=60e40c854cc6d7d8d181a66714b8f7b8bfb58e0e;hpb=df80d071e8eeb799bd1d8ec55acd1ee92714c752 diff --git a/samples/tgidemo.c b/samples/tgidemo.c index 6f3b86abc..1d76fee2e 100644 --- a/samples/tgidemo.c +++ b/samples/tgidemo.c @@ -151,7 +151,7 @@ static void DoDiagram (void) /* Calculate the next points */ X = (int) (((long) (MaxX - 19) * I) / 360); - Y = (int) (((long) Amp * -cc65_sin (I)) / 256); + Y = (int) (((long) Amp * -sin (I)) / 256); /* Draw the line */ tgi_lineto (XOrigin + X, YOrigin + Y);