1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-04 10:38:13 +00:00

if torrent name is unavailable, use hash

This commit is contained in:
Mitchell Livingston 2010-02-06 00:20:20 +00:00
parent d83282329f
commit 5733f139fa

View file

@ -565,7 +565,7 @@ int trashDataFile(const char * filename)
- (NSString *) name
{
return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : @"";
return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
}
- (BOOL) isFolder