From 3801477931992ade4f61b96c3dae00b1a06c467e Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 26 Sep 2006 13:12:58 +0000 Subject: [PATCH] (minput_get_description): Handle description about inclusion-only input methods. --- src/input.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index 24fa372..43a4133 100644 --- a/src/input.c +++ b/src/input.c @@ -4572,10 +4572,16 @@ MText * minput_get_description (MSymbol language, MSymbol name) { MInputMethodInfo *im_info; + MSymbol extra; MINPUT__INIT (); - im_info = get_im_info (language, name, Mnil, Mdescription); + if (name != Mnil) + extra = Mnil; + else + extra = language, language = Mt; + + im_info = get_im_info (language, name, extra, Mdescription); if (! im_info || ! im_info->description) return NULL; M17N_OBJECT_REF (im_info->description); -- 1.7.10.4