mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-25 06:45:27 +02:00
parent
fb998007d7
commit
269a065bb9
@ -588,9 +588,9 @@ void Accelerator::updateShortcuts()
|
||||
|
||||
if (_hFindAccTab)
|
||||
::DestroyAcceleratorTable(_hFindAccTab);
|
||||
ACCEL *tmpFindAccelArray = new ACCEL[1];
|
||||
if (pSearchFindAccel != nullptr)
|
||||
{
|
||||
ACCEL *tmpFindAccelArray = new ACCEL[1];
|
||||
tmpFindAccelArray[0] = *pSearchFindAccel;
|
||||
_hFindAccTab = ::CreateAcceleratorTable(tmpFindAccelArray, 1);
|
||||
delete[] tmpFindAccelArray;
|
||||
|
Loading…
x
Reference in New Issue
Block a user