You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/skkfep/files/skkfep-system-dic.patch

14 lines
325 B

--- 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) {