From e48f1f4d84e51069338950c80a99ea08909d1a07 Mon Sep 17 00:00:00 2001 From: "Kjetil S. Matheussen" Date: Mon, 9 Aug 2004 14:53:58 +0000 Subject: Horrible bug, causing FLOAT funcs to sometimes crash. svn path=/trunk/externals/k_cext/; revision=1932 --- k_cext_generatecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k_cext_generatecode.c b/k_cext_generatecode.c index bd7304b..cd44355 100644 --- a/k_cext_generatecode.c +++ b/k_cext_generatecode.c @@ -28,7 +28,7 @@ static char *has_intfunc(char *string){ static char *has_floatfunc(char *string){ char *s=strstr(string,"FLOAT_"); if(s==NULL) return NULL; - if(s[4]=='(') return has_floatfunc(s+4); + if(s[6]=='(') return has_floatfunc(s+6); return s; } -- cgit v1.2.1