aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil S. Matheussen <ksvalast@users.sourceforge.net>2004-08-09 14:53:58 +0000
committerKjetil S. Matheussen <ksvalast@users.sourceforge.net>2004-08-09 14:53:58 +0000
commite48f1f4d84e51069338950c80a99ea08909d1a07 (patch)
tree4d43b46a533faa3f3ce3821f309e8ce00212684d
parent4657c30fd542d706e14c84fd5af3c79ea0a95747 (diff)
Horrible bug, causing FLOAT funcs to sometimes crash.
svn path=/trunk/externals/k_cext/; revision=1932
-rw-r--r--k_cext_generatecode.c2
1 files changed, 1 insertions, 1 deletions
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;
}