mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-11 14:37:37 +00:00
Avoid partial struct instantiation.
This commit is contained in:
parent
6cb23ec5be
commit
5f6c08b7e0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user