summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/math.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/math.c b/src/math.c
index 2c3b0c0..bfd8b94 100644
--- a/src/math.c
+++ b/src/math.c
@@ -15,13 +15,14 @@ c3_group_rot_t *get_group_relative(char *id) {//crashes in here somehwere...
gr=tmp->target;//target is a void *
return gr;
}//if this didn't work, do fallback...
+ //fprintf(stderr,"# !!! hash table failed for %s\n",id);
for(i=0;global.group_rot[i];i++) {
if(!strcmp(global.group_rot[i]->id,id)) {//should I use glob here and return an array?
- if(gr != global.group_rot[i]) {
+ //if(gr != global.group_rot[i]) {
//fprintf(stderr,"# %s ? %s ? %s\n",tmp->original,gr->id,global.group_rot[i]->id);
//fprintf(stderr,"# %16x != %16x. wtf?\n",gr,global.group_rot[i]);
- fprintf(stderr,"ht method != loop method\n");
- }
+ // fprintf(stderr,"ht method != loop method\n");
+ //}
return global.group_rot[i];
}
}