Changeset 13240
- Timestamp:
- Feb 29, 2012, 2:45:42 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r13219 r13240 321 321 [NSLocalizedString(@"TB", "Memory size - terabytes") UTF8String]); 322 322 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"); 325 324 fLib = tr_sessionInit("macosx", configDir, YES, &settings); 326 325 tr_bencFree(&settings); … … 3208 3207 3209 3208 if (windowSize.height < minHeight) 3210 windowSize.height = minHeight;3209 windowSize.height = minHeight; 3211 3210 else 3212 3211 {
Note: See TracChangeset
for help on using the changeset viewer.