Changeset 606 for trunk


Ignore:
Timestamp:
12/21/09 22:13:09 (15 years ago)
Author:
Nicholas Riley
Message:

Parentheses to pacify GCC.

Location:
trunk/Cocoa/Pester/Source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/NJRQTMediaPopUpButton.m

    r602 r606  
    382382        QTMovie *movie = [[QTMovie alloc] initWithFile: [selectedAlias fullPath] error: &error];
    383383        movieCanRepeat = ![movie NJR_isStatic];
    384         if (movieHasAudio = [movie NJR_hasAudio]) {
     384        if ((movieHasAudio = [movie NJR_hasAudio])) {
    385385            [preview setMovie: doPreview ? movie : nil];
    386386        } else {
  • trunk/Cocoa/Pester/Source/PSAlarmSetController.m

    r599 r606  
    329329            NSResponder *oldResponder = [window firstResponder];
    330330            // make sure focus doesn't get stuck in the edit tab: it is confusing and leaves behind artifacts
    331             if (oldResponder == editAlert || [oldResponder isKindOfClass: [NSView class]] && [(NSView *)oldResponder isDescendantOf: alertTabs])
     331            if (oldResponder == editAlert ||
     332                ([oldResponder isKindOfClass: [NSView class]] && [(NSView *)oldResponder isDescendantOf: alertTabs]))
    332333                [window makeFirstResponder: messageField]; // would use editAlert, but can't get it to display anomaly-free.
    333334            [self silence: sender];
Note: See TracChangeset for help on using the changeset viewer.