Skip to content

Commit 2d83bb1

Browse files
committed
26.4.4 Some fix
1 parent 5e2c222 commit 2d83bb1

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

Debug/lib/te32.dll

0 Bytes
Binary file not shown.

Debug/lib/te64.dll

0 Bytes
Binary file not shown.

Debug/script/sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ g_.arError = api.CreateObject("Array");
6969

7070
AboutTE = function (n) {
7171
if (n == 0) {
72-
return te.Version < 20260127 ? te.Version : 20260202;
72+
return te.Version < 20260404 ? te.Version : 20260404;
7373
}
7474
if (n == 1) {
7575
const v = AboutTE(0);

TE/Resource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#else
1616
//Version(DLL)
1717
#define VER_Y 26
18-
#define VER_M 1
19-
#define VER_D 27
18+
#define VER_M 4
19+
#define VER_D 4
2020
#endif
2121

2222
//Icon

TE/TE.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,16 @@ VOID teTranslateAccelerator(IDispatch *pdisp, MSG *pMsg, HRESULT *phr)
558558
IOleInPlaceActiveObject *pActiveObject = NULL;
559559
if SUCCEEDED(pWB->QueryInterface(IID_PPV_ARGS(&pActiveObject))) {
560560
HRESULT hr = pActiveObject->TranslateAcceleratorW(pMsg);
561-
if (hr == S_OK || (SUCCEEDED(hr) && GetKeyState(VK_MENU) < 0)) {
561+
if (hr == S_OK) {
562562
*phr = S_OK;
563563
}
564+
if SUCCEEDED(hr) {
565+
if (GetKeyState(VK_MENU) < 0) {
566+
if (!(GetKeyState(VK_RMENU) < 0 && GetKeyState(VK_LCONTROL) < 0)) {
567+
*phr = S_OK;
568+
}
569+
}
570+
}
564571
pActiveObject->Release();
565572
}
566573
pWB->Release();

0 commit comments

Comments
 (0)