Changeset 306:745001b1a52c

Show
Ignore:
Timestamp:
09/08/08 05:32:37 (2 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix compile error.

Files:

Legend:

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

    r305 r306  
    813813} 
    814814 
     815public char[] toWCharArray( String str ){ 
     816    return toString16(str); 
     817} 
     818 
    815819public char[] toCharArray( String str ){ 
    816820    return str; 
  • dwt/graphics/TextLayout.d

    r295 r306  
    133133        synchronized { 
    134134            if( !static_this_completed ){ 
    135                 OS.IIDFromString("{275c23e2-3747-11d0-9fea-00aa003f8646}\0".toCharArray().ptr, CLSID_CMultiLanguage.ptr); 
    136                 OS.IIDFromString("{DCCFC162-2B38-11d2-B7EC-00C04F8F5D9A}\0".toCharArray().ptr, IID_IMLangFontLink2.ptr); 
     135                OS.IIDFromString("{275c23e2-3747-11d0-9fea-00aa003f8646}\0".toWCharArray().ptr, CLSID_CMultiLanguage.ptr); 
     136                OS.IIDFromString("{DCCFC162-2B38-11d2-B7EC-00C04F8F5D9A}\0".toWCharArray().ptr, IID_IMLangFontLink2.ptr); 
    137137                static_this_completed = true; 
    138138            }