1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-01 22:41:32 +00:00

Avoid partial struct instantiation.

This commit is contained in:
Thomas Harte 2021-05-05 22:00:50 -04:00
parent 6cb23ec5be
commit 5f6c08b7e0

View File

@ -43,7 +43,7 @@
KeyboardMapper::KeyboardMapper() {
#ifdef HAS_X11
struct DesiredMapping {
KeySym source;
KeySym source = 0;
Inputs::Keyboard::Key destination;
};
@ -115,7 +115,7 @@ KeyboardMapper::KeyboardMapper() {
{XK_Help, Key::Help},
{0}
{}
};
// Extra level of nonsense here: