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