Sat, 05 Apr 2003 22:21:24 +0200
trunk: changeset 53 StringIntMap fixed (not)
--- a/map.c Wed Apr 02 22:05:14 2003 +0200 +++ b/map.c Sat Apr 05 22:21:24 2003 +0200 @@ -15,7 +15,7 @@ for(i=0; map[i].string!=NULL; i++){ if(strcmp(str, map[i].string)==0) - return i; + return map[i].value; } return -1;