From 0b4bea1eead921dad863efbf668e793ed26a0184 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 7 Oct 2024 14:33:44 +0200 Subject: Fix shortcut FL_CTRL+'=' on Windows (#1086) Strictly spoken, commit 3fbd4f944f0a 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). --- src/Fl_win32.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index dec95241e..06e9d5eee 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -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) { -- cgit v1.2.3