~ubuntu-branches/ubuntu/hardy/uim/hardy

« back to all changes in this revision

Viewing changes to helper/dict-canna-cclass.c

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2007-04-21 03:46:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070421034609-gpcurkutp8vaysqj
Tags: 1:1.4.1-3
* Switch to dh_gtkmodules for the gtk 2.10 transition (Closes:
  #419318)
  - debian/control: Add ${misc:Depends} and remove libgtk2.0-bin on
    uim-gtk2.0.
  - debian/uim-gtk2.0.post{inst,rm}: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  Copyright (c) 2003,2004 Masahito Omote <omote@utyuuzin.net>
3
 
 *                2005-2006 uim Project http://uim.freedesktop.org/
 
3
 *                2005-2007 uim Project http://uim.freedesktop.org/
4
4
 *
5
5
 *  All rights reserved.
6
6
 *
113
113
  { "#T33", "̾��(����,�ʽ���³��)"           , "", 5,  3 },
114
114
  { "#T34", "̾��(����)"                      , "", 4,  3 },
115
115
  { "#T35", "̾��(�촴,�ʽ���³)"             , "���,�縰,��,���", 3,  3 },
116
 
  { "#T39", "̾������(̤���)"                  , "", 0,  3 },
 
116
  { "#T39", "̾��"                            , "", 0,  3 },
117
117
  { "#CN",  "��̾"                            , "���", 0, 3 },
118
118
  { "#CNS", "��̾(������)"                    , "�����", 0, 3 },
119
119
  { "#JCN", "��̾(�����)"                    , "Ĺ��", 0, 3 },
328
328
 
329
329
  do {
330
330
    for (j = 0; j < num[i]; j++) {
331
 
      if (strcmp(code, (category[i])[j].code) == 0
332
 
         && ((category[i])[j].type & type) == type)
 
331
      if ((i == type ) && !strcmp(code, (category[i])[j].code))
333
332
        pos = strdup((category[i])[j].desc);
334
333
    }
335
334
    i++;
361
360
 
362
361
    do {
363
362
      for (j = 0; j < num[i]; j++) {
364
 
        if (strcmp(desc, (category[i])[j].desc) == 0
365
 
           && ((category[i])[j].type & type) == type)
 
363
        if ((i == type) && !strcmp(desc, (category[i])[j].desc))
366
364
          code = strdup((category[i])[j].code);
367
365
      }
368
366
      i++;