Fix shortcut FL_CTRL+'=' on Windows (#1086)
Strictly spoken, commit 3fbd4f944f
introduced a regression on Windows.
The additional table entry VK_OEM_PLUS overrode the old behavior
because the value of VK_OEM_PLUS is 0xbb (see comment in code).
This commit is contained in:
parent
16d59008c2
commit
0b4bea1eea
@ -1150,7 +1150,7 @@ static const struct {
|
||||
{VK_LAUNCH_MAIL, FL_Mail},
|
||||
#endif
|
||||
{0xba, ';'},
|
||||
{0xbb, '='},
|
||||
{0xbb, '='}, // 0xbb == VK_OEM_PLUS (see #1086)
|
||||
{0xbc, ','},
|
||||
{0xbd, '-'},
|
||||
{0xbe, '.'},
|
||||
@ -1160,7 +1160,6 @@ static const struct {
|
||||
{0xdc, '\\'},
|
||||
{0xdd, ']'},
|
||||
{0xde, '\''},
|
||||
{VK_OEM_PLUS, '+'},
|
||||
{VK_OEM_102, FL_Iso_Key}
|
||||
};
|
||||
static int ms2fltk(WPARAM vk, int extended) {
|
||||
|
Loading…
Reference in New Issue
Block a user