Fixed keyboard not activating sections 8 and 9

This commit is contained in:
Valentin Radu
2021-11-16 04:23:27 +02:00
parent 8f9ecf68e4
commit 0a64066724
+1 -1
View File
@@ -1444,7 +1444,7 @@ static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
return 0;
}
// this should be determined from the file, but for now it works
else if (wParam >= 0x30 + 1 && wParam <= 0x30 + 7)
else if (wParam >= 0x30 + 1 && wParam <= 0x30 + 9)
{
_this->tabOrder = 0;
_this->section = wParam - 0x30 - 1;