|
From: Andreas R. <and...@us...> - 2002-05-05 11:58:52
|
Update of /cvsroot/squeak/squeak/platforms/Cross/plugins/Mpeg3Plugin/libmpeg
In directory usw-pr-cvs1:/tmp/cvs-serv3927
Modified Files:
changesForSqueak.c
Log Message:
changed true/false into 1/0 since C doesnt know true or false keywords
Index: changesForSqueak.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/changesForSqueak.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** changesForSqueak.c 27 Dec 2001 23:14:13 -0000 1.3
--- changesForSqueak.c 5 May 2002 11:58:47 -0000 1.4
***************
*** 112,122 ****
c2 = c2 - ('a' - 'A');
}
! if (c1 != c2) return false;
}
! return true;
}
int strcasecmp (const char *str1, const char *str2) {
! if (strlen(str1) != strlen(str2)) return false;
return strncasecmp(str1,str2,strlen(str1));
}
--- 112,122 ----
c2 = c2 - ('a' - 'A');
}
! if (c1 != c2) return 0;
}
! return 1;
}
int strcasecmp (const char *str1, const char *str2) {
! if (strlen(str1) != strlen(str2)) return 0;
return strncasecmp(str1,str2,strlen(str1));
}
|