1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

expand incomplete folder path

This commit is contained in:
Mitchell Livingston 2007-04-19 06:05:32 +00:00
parent 23598215bc
commit a463c12bde

View file

@ -80,7 +80,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
if (self) if (self)
{ {
fUseIncompleteFolder = [fDefaults boolForKey: @"UseIncompleteDownloadFolder"]; fUseIncompleteFolder = [fDefaults boolForKey: @"UseIncompleteDownloadFolder"];
fIncompleteFolder = [[fDefaults stringForKey: @"IncompleteDownloadFolder"] copy]; fIncompleteFolder = [[[fDefaults stringForKey: @"IncompleteDownloadFolder"] stringByExpandingTildeInPath] retain];
if (!fPublicTorrent) if (!fPublicTorrent)
[self trashFile: path]; [self trashFile: path];