From: Jeff E. <je...@us...> - 2006-01-30 03:42:20
|
Update of /cvsroot/emc/emc2/src/module_helper In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30467 Modified Files: module_helper.c Log Message: fix swp's font problem Index: module_helper.c =================================================================== RCS file: /cvsroot/emc/emc2/src/module_helper/module_helper.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- module_helper.c 30 Jan 2006 03:40:45 -0000 1.9 +++ module_helper.c 30 Jan 2006 03:42:12 -0000 1.10 @@ -89,8 +89,8 @@ int i; if(!target) return 0; for(i=0; table[i]; i++) { - int l = strlen(table[i]); - if(!strncmp(target, table[i], l)) return target + l; + int sz = strlen(table[i]); + if(!strncmp(target, table[i], sz)) return target + sz; } return 0; } |