Created
May 1, 2015 08:54
-
-
Save ohac/0dc9ea66793a3cff7fb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libskk/context.vala b/libskk/context.vala | |
index c892a3d..9c574c3 100644 | |
--- a/libskk/context.vala | |
+++ b/libskk/context.vala | |
@@ -352,6 +352,7 @@ namespace Skk { | |
void start_dict_edit (string midasi, bool okuri) { | |
var state = new State (_dictionaries); | |
+ state.typing_rule = state_stack.peek_head ().typing_rule; | |
state.midasi = midasi; | |
state.okuri = okuri; | |
push_state (state); | |
diff --git a/tests/rule.c b/tests/rule.c | |
index 942e805..a7f9a88 100644 | |
--- a/tests/rule.c | |
+++ b/tests/rule.c | |
@@ -54,6 +54,7 @@ kzik (void) | |
{ SKK_INPUT_MODE_HIRAGANA, "Q", "▽ん", "", SKK_INPUT_MODE_HIRAGANA }, | |
{ SKK_INPUT_MODE_HIRAGANA, "l C-j", "", "", SKK_INPUT_MODE_HIRAGANA }, | |
{ SKK_INPUT_MODE_HIRAGANA, "L C-j", "", "", SKK_INPUT_MODE_HIRAGANA }, | |
+ { SKK_INPUT_MODE_HIRAGANA, "K a p e SPC k z", "▼かぺ【かん】", "", SKK_INPUT_MODE_HIRAGANA }, | |
{ 0, NULL } | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment