Ignore:
Timestamp:
Aug 12, 2008, 1:51:11 PM (13 years ago)
Author:
charles
Message:

readability improvments #1, #2, #3, #4. (muks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r6448 r6496  
    445445{
    446446    tr_sessionSetEncryption(fHandle, [fDefaults boolForKey: @"EncryptionPrefer"] ?
    447         ([fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED) : TR_PLAINTEXT_PREFERRED);
     447        ([fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED) : TR_CLEAR_PREFERRED);
    448448}
    449449
     
    10091009    //encryption
    10101010    tr_encryption_mode encryptionMode = tr_sessionGetEncryption(fHandle);
    1011     [fDefaults setBool: encryptionMode != TR_PLAINTEXT_PREFERRED forKey: @"EncryptionPrefer"];
     1011    [fDefaults setBool: encryptionMode != TR_CLEAR_PREFERRED forKey: @"EncryptionPrefer"];
    10121012    [fDefaults setBool: encryptionMode == TR_ENCRYPTION_REQUIRED forKey: @"EncryptionRequire"];
    10131013   
Note: See TracChangeset for help on using the changeset viewer.