Adium

Changeset 15375

Show
Ignore:
Timestamp:
02/26/2006 06:20:04 PM (3 years ago)
Author:
catfish_man
Message:

Patch from freakman. Fixes #2262

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Frameworks/Adium Framework/AIMessageEntryTextView.m

    r15298 r15375  
    355355        } 
    356356         
    357         if([[self backgroundColor] colorIsDark]) { 
    358                 [self setInsertionPointColor:[NSColor whiteColor]]; 
    359         } else { 
    360                 [self setInsertionPointColor:[NSColor blackColor]]; 
    361         } 
     357        [self setInsertionPointColor:[backgroundColor colorWithInvertedLuminance]]; 
    362358} 
    363359