commit 0d38729281ab6d19a99cd874cce7b7132f3c9fb7
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Tue Jul 21 11:36:49 2015 +0200
Initialize correctly the default keymap
If keymaps are activated and there is a secondary keymap but no
primary one, then the pointer to the active keymap was 0x0. This can't
be good.
Fixes bug #9685.
diff --git a/src/Trans.cpp b/src/Trans.cpp
index 1f2b3a8..d4d4110 100644
--- a/src/Trans.cpp
+++ b/src/Trans.cpp
@@ -580,7 +580,7 @@ Trans TransManager::default_;
TransManager::TransManager()
- : active_(0)
+ : active_(&default_)
{}