From: handa Date: Thu, 18 Aug 2005 01:20:55 +0000 (+0000) Subject: (main): Adjusted for the change of symbol's language X-Git-Tag: REL-1-3-0~268 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=fdd697e6fc408357ca2f14a0cdf293f2546418b4;p=m17n%2Fm17n-lib.git (main): Adjusted for the change of symbol's language property (now in lowercase). --- diff --git a/example/medit.c b/example/medit.c index 5d326ee..63701ca 100644 --- a/example/medit.c +++ b/example/medit.c @@ -2958,9 +2958,9 @@ main (int argc, char **argv) char *name = msymbol_name (fullname); char c = name[0]; - if (c >= 'A' && c <= 'Z') + if (c >= 'a' && c <= 'z') { - int idx = (c < 'U') ? (c - 'A') / 2 : 10; + int idx = (c < 'u') ? (c - 'a') / 2 : 10; pl = plist[idx]; if (! pl)