Changeset 290:79a066e09568

Show
Ignore:
Timestamp:
08/21/08 10:14:13 (3 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix: make null ptr possible for WCHARzToStr, thanks Enzo Petrelli

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/internal/win32/OS.d

    r276 r290  
    37123712public char[] WCHARzToStr(wchar* pString, int _length = -1) 
    37133713{ 
     3714    if( pString is null ){ 
     3715        return null; 
     3716    } 
    37143717    // null terminated string pointer 
    37153718    if(_length == -1){