summaryrefslogtreecommitdiff
path: root/app-i18n/skkfep/files/skkfep-system-dic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/skkfep/files/skkfep-system-dic.patch')
-rw-r--r--app-i18n/skkfep/files/skkfep-system-dic.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-i18n/skkfep/files/skkfep-system-dic.patch b/app-i18n/skkfep/files/skkfep-system-dic.patch
new file mode 100644
index 000000000000..ba57a2a41f0b
--- /dev/null
+++ b/app-i18n/skkfep/files/skkfep-system-dic.patch
@@ -0,0 +1,13 @@
+--- a/kkconv.c
++++ b/kkconv.c
+@@ -660,7 +660,9 @@
+ flushOut(l);
+ #ifdef USE_SERVER
+ if (!CandFromServer) {
+- selectCand(FirstCandEntry,CurrentCand);
++ if (FirstCandEntry != NULL) {
++ selectCand(FirstCandEntry,CurrentCand);
++ }
+ }
+ else if (NetLearnMode != LearnOff) {
+ if (CurrentCand->dicitem == NULL) {