1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 04:16:37 +02:00

Fixed a win32 bug that causes the editor to cut text at 32KB

This commit is contained in:
codemastr
2002-01-24 21:00:09 +00:00
parent e39a1f9884
commit ce009a31ba
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -1127,3 +1127,5 @@ v- Fixed some bugreport stuff
- Added patch in #0000053 by |savage|, speedup in can_send
- Possible fix of #0000042 regarding duplicate scans at same time causing
one to slip through, reported by Zogg
- Fixed a win32 editor bug reported by Jens that limited text additions to 32KB
+1
View File
@@ -1060,6 +1060,7 @@ LRESULT CALLBACK FromFileDLG(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPar
stream->buffer = &RTFBuf;
edit.dwCookie = (UINT)stream;
edit.pfnCallback = SplitIt;
SendMessage(hWnd, EM_EXLIMITTEXT, 0, (LPARAM)0x7FFFFFFF);
SendMessage(hWnd, EM_STREAMIN, (WPARAM)SF_RTF|SFF_PLAINRTF, (LPARAM)&edit);
SendMessage(hWnd, EM_SETMODIFY, (WPARAM)FALSE, 0);
SendMessage(hWnd, EM_EMPTYUNDOBUFFER, 0, 0);