Mercurial > dwindows
changeset 996:69cf9f26e899
Removed some code I accidentally commited to the OS/2 module.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 07 May 2011 19:55:05 +0000 |
parents | 65ccdda2d743 |
children | dfa2204e231f |
files | os2/dw.c |
diffstat | 1 files changed, 1 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Sat May 07 19:49:24 2011 +0000 +++ b/os2/dw.c Sat May 07 19:55:05 2011 +0000 @@ -4881,7 +4881,7 @@ HWND_TOP, id, NULL, - NULL); + NULL); WinSendMsg(tmp, MLM_FORMAT, MLFIE_NOTRANS, 0); blah->oldproc = WinSubclassWindow(tmp, _mleproc); WinSetWindowPtr(tmp, QWP_USER, blah); @@ -6349,21 +6349,6 @@ WinSendMsg(handle, LM_DELETEITEM, MPFROMSHORT(index), 0); } -void _strip_cr(char *dest, char *src) -{ - int z, x = 0; - - for(z=0;z<strlen(src);z++) - { - if(src[z] != '\r') - { - dest[x] = src[z]; - x++; - } - } - dest[x] = 0; -} - /* * Adds text to an MLE box and returns the current point. * Parameters: