mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 15:54:17 +02:00
Revert "Increase CURRENT_LINESTR variable length of run dialog"
This reverts commit 11bc8107b0947c9b86ce27fd698730497312f65b, due to the crash caused by stackoverflow. Fix #16865
This commit is contained in:
parent
11bc8107b0
commit
71fbdae005
@ -1013,7 +1013,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
case NPPM_GETCURRENTWORD:
|
||||
case NPPM_GETCURRENTLINESTR:
|
||||
{
|
||||
const int strSize = FINDREPLACE_MAXLENGTH * 2;
|
||||
const int strSize = CURRENTWORD_MAXLENGTH;
|
||||
wchar_t str[strSize] = { '\0' };
|
||||
wchar_t *pTchar = reinterpret_cast<wchar_t *>(lParam);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user