From 2388cada013f66370d912c8a7039cfaf3cc1ff07 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 6 Jul 2004 22:25:14 +0000 Subject: [PATCH] Fix compile error: the 'log' function takes only one parameter: changed log(xo, 2) to log(xo)/log(2). --- source/blender/src/sequence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index 39c23f1cf78..48e84f32c82 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -1001,7 +1001,7 @@ float check_zone(int x, int y, int xo, int yo, Sequence *seq, float facf0) { x = xo-x; //y = yo-y } - angle = pow(fabs(angle)/45,log(xo,2)); + angle = pow(fabs(angle)/45,log(xo)/log(2)); posy = facf0 * yo; if(sweep->forward){