Changeset 492

Show
Ignore:
Timestamp:
02/15/08 08:59:35 (10 months ago)
Author:
gbooker
Message:

Remove returns at the end of gerne names
Fixes #122

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SapphireFrappliance/SapphireMovieImporter.m

    r491 r492  
    447447                                                                aGenre=[aGenre substringToIndex:[aGenre length]-6]; 
    448448                                                        else if([aGenre hasSuffix:@" "]) 
     449                                                                aGenre=[aGenre substringToIndex:[aGenre length]-1]; 
     450                                                        else if([aGenre hasSuffix:@"\n"]) 
    449451                                                                aGenre=[aGenre substringToIndex:[aGenre length]-1]; 
    450452                                                        [myGenres addObject:aGenre];