Changeset 235:ec7da638647f

Show
Ignore:
Timestamp:
06/08/08 09:12:08 (3 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix string compare in dwthelper/utils.d

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dwthelper/utils.d

    r229 r235  
    592592 
    593593public int compareToIgnoreCase( String src, String other ){ 
    594     return tango.text.Unicode.toFold(src) < tango.text.Unicode.toFold(other); 
     594    return compareTo( tango.text.Unicode.toFold(src), tango.text.Unicode.toFold(other)); 
    595595} 
    596596public int compareTo( String src, String other ){ 
    597     return src < other
     597    return typeid(String).compare( cast(void*)&src, cast(void*)&other )
    598598} 
    599599