Mercurial > hg > xemacs-beta
comparison src/input-method-xlib.c @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | 3d6bfa290dbd |
children | e45d5e7c476e |
comparison
equal
deleted
inserted
replaced
202:61eefc8fc970 | 203:850242ba4a81 |
---|---|
614 * - styles supported by the input method */ | 614 * - styles supported by the input method */ |
615 #define DEFAULTStyle (XIMPreeditNothing|XIMStatusNothing) | 615 #define DEFAULTStyle (XIMPreeditNothing|XIMStatusNothing) |
616 static XIMStyle | 616 static XIMStyle |
617 best_style (XIMStyles *user, XIMStyles *xim) | 617 best_style (XIMStyles *user, XIMStyles *xim) |
618 { | 618 { |
619 register int i, j; | 619 REGISTER int i, j; |
620 for (i=0 ; i<user->count_styles ; i++) | 620 for (i=0 ; i<user->count_styles ; i++) |
621 { | 621 { |
622 for (j=0 ; j<xim->count_styles ; j++) | 622 for (j=0 ; j<xim->count_styles ; j++) |
623 { | 623 { |
624 if (user->supported_styles[i] == xim->supported_styles[j]) | 624 if (user->supported_styles[i] == xim->supported_styles[j]) |