mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 16:51:52 -04:00
11 lines
499 B
C++
11 lines
499 B
C++
--- electron/shell/common/keyboard_util.cc.orig 2024-10-23 21:18:11 UTC
|
|
+++ electron/shell/common/keyboard_util.cc
|
|
@@ -16,7 +16,7 @@ using CodeAndShiftedChar = std::pair<ui::KeyboardCode,
|
|
|
|
using CodeAndShiftedChar = std::pair<ui::KeyboardCode, std::optional<char16_t>>;
|
|
|
|
-constexpr CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
|
|
+CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
|
|
const std::string_view str) {
|
|
#if BUILDFLAG(IS_MAC)
|
|
constexpr auto CommandOrControl = ui::VKEY_COMMAND;
|