Changeset 59

Show
Ignore:
Timestamp:
05/16/07 17:52:11 (2 years ago)
Author:
lindquist
Message:

minor win32 update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/bughunt/minwin/text.d

    r58 r59  
    7676        } 
    7777        // TODO: is the other way needed as well? 
    78         private char[] lf_to_crlf(char[] str) { 
     78        void text(char[] str) { 
    7979            scope lines = std.string.splitlines(str); 
    80             return std.string.join(lines,std.string.newline); 
    81         } 
    82         void text(char[] str) { 
    83             scope winstr = lf_to_crlf(str); 
     80            scope winstr = std.string.join(lines,std.string.newline); 
    8481            SendMessageX(peer,WM_SETTEXT,0,winstr); 
    8582        }