Fix an easter egg not showing issue

Fix #15170, close #16341
This commit is contained in:
Don Ho 2025-03-29 16:56:44 +01:00
parent b9bf6d64c6
commit 2a24867e98

View File

@ -3420,7 +3420,7 @@ void Notepad_plus::command(int id)
case IDM_ABOUT: case IDM_ABOUT:
{ {
bool doAboutDlg = false; bool doAboutDlg = false;
const int maxSelLen = 32; const int maxSelLen = 64;
auto textLen = _pEditView->execute(SCI_GETSELTEXT, 0, 0); auto textLen = _pEditView->execute(SCI_GETSELTEXT, 0, 0);
if (textLen <= 0) if (textLen <= 0)
doAboutDlg = true; doAboutDlg = true;