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:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user