Changeset 59
- Timestamp:
- 05/16/07 17:52:11 (2 years ago)
- Files:
-
- branches/bughunt/minwin/text.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/bughunt/minwin/text.d
r58 r59 76 76 } 77 77 // TODO: is the other way needed as well? 78 private char[] lf_to_crlf(char[] str) {78 void text(char[] str) { 79 79 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); 84 81 SendMessageX(peer,WM_SETTEXT,0,winstr); 85 82 }
