Update of /cvsroot/radmind/radmind-assistant
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15858
Modified Files:
RAVersionCompare.m
Log Message:
Fix version checking when version string is longer than 5 characters. Thanks to John Robertson for reporting the issue.
Index: RAVersionCompare.m
===================================================================
RCS file: /cvsroot/radmind/radmind-assistant/RAVersionCompare.m,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** RAVersionCompare.m 14 Mar 2006 16:42:46 -0000 1.6
--- RAVersionCompare.m 6 Sep 2007 14:47:56 -0000 1.7
***************
*** 92,96 ****
}
! for ( i = 0, j = 0; i < MIN( strlen( buf ), 5 ); i++ ) {
if ( isdigit( buf[ i ] )) {
vbuf[ j ] = buf[ i ];
--- 92,96 ----
}
! for ( i = 0, j = 0; i < MIN( strlen( buf ), 10 ); i++ ) {
if ( isdigit( buf[ i ] )) {
vbuf[ j ] = buf[ i ];
|