set properties for new files

This commit is contained in:
Mitchell Livingston 2007-10-06 22:24:50 +00:00
parent a635077abd
commit 8f7f65388e
1 changed files with 2 additions and 2 deletions

View File

@ -390,9 +390,9 @@ char * tr_clientForId( const uint8_t * id )
{ {
asprintf( &ret, "eXeem" ); asprintf( &ret, "eXeem" );
} }
else if( '\0' == id[0] && 'B' == id[2] && 'S' == id[3] ) else if( '\0' == id[0] && !memcmp( &id[1], "BS", 2 ) )
{ {
asprintf( &ret, "BitSpirit v%u", ( 0 == id[1] ? 1 : id[1] ) ); asprintf( &ret, "BitSpirit %u", ( id[1] == 0 ? 1 : id[1] ) );
} }
/* No match */ /* No match */