projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b46046
)
(load_input_method): If title is not specified, use the input method
author
handa
<handa>
Tue, 9 Mar 2004 06:22:34 +0000
(06:22 +0000)
committer
handa
<handa>
Tue, 9 Mar 2004 06:22:34 +0000
(06:22 +0000)
name as title.
src/input.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
5f1c920
..
85aca27
100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-739,6
+739,9
@@
load_input_method (MSymbol language, MSymbol name, MPlist *plist,
MPLIST_DO (elt, maps)
M17N_OBJECT_UNREF (MPLIST_VAL (elt));
M17N_OBJECT_UNREF (maps);
+ if (! title)
+ title = mtext_from_data (MSYMBOL_NAME (name), MSYMBOL_NAMELEN (name),
+ MTEXT_FORMAT_US_ASCII);
im_info->title = title;
im_info->externals = externals;
im_info->macros = macros;