Changeset 13240


Ignore:
Timestamp:
Feb 29, 2012, 2:45:42 AM (7 years ago)
Author:
livings124
Message:

#4788 "export TRANSMISSION_HOME=" broken in Mac client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13219 r13240  
    321321                                    [NSLocalizedString(@"TB", "Memory size - terabytes") UTF8String]);
    322322       
    323         //use this instead of tr_getDefaultConfigDir("Transmission") so we are sure to get the "real" Application Support directory
    324         const char * configDir = [[[NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES) objectAtIndex: 0] stringByAppendingPathComponent: @"Transmission"] UTF8String];
     323        const char * configDir = tr_getDefaultConfigDir("Transmission");
    325324        fLib = tr_sessionInit("macosx", configDir, YES, &settings);
    326325        tr_bencFree(&settings);
     
    32083207       
    32093208        if (windowSize.height < minHeight)
    3210             windowSize.height =minHeight;
     3209            windowSize.height = minHeight;
    32113210        else
    32123211        {
Note: See TracChangeset for help on using the changeset viewer.