Changeset 172:0459ffa88f7d

Show
Ignore:
Timestamp:
02/23/08 12:35:46 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

more != in TextStyle?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/graphics/TextStyle.d

    r171 r172  
    118118    TextStyle style = cast(TextStyle)object; 
    119119    if (foreground !is null) { 
    120         if ( foreground != style.foreground ) return false; 
     120        if ( foreground !is style.foreground ) return false; 
    121121    } else if (style.foreground !is null) return false; 
    122122    if (background !is null) { 
    123         if ( background != style.background ) return false; 
     123        if ( background !is style.background ) return false; 
    124124    } else if (style.background !is null) return false; 
    125125    if (font !is null) { 
    126         if (font != style.font) return false; 
     126        if (font !is style.font) return false; 
    127127    } else if (style.font !is null) return false; 
    128128    if (metrics !is null || style.metrics !is null) return false; 
     
    187187        buffer ~= "striked out"; 
    188188    } 
    189     if (rise != 0) { 
     189    if (rise !is 0) { 
    190190        if (buffer.length > startLength) buffer ~= ", "; 
    191191        buffer ~= "rise=";