(file) Return to ICWrap.c CVS log (file) (dir) Up to [XFree86 CVS] / xc / lib / X11

Diff for /xc/lib/X11/ICWrap.c between version 1.7 and 1.8

version 1.7, 2001/12/14 19:54:01 version 1.8, 2002/11/25 14:04:53
Line 394 
Line 394 
 Xutf8ResetIC(ic) Xutf8ResetIC(ic)
     XIC ic;     XIC ic;
 { {
     if (ic->core.im)      if (ic->core.im) {
           if (*ic->methods->utf8_reset)
         return (*ic->methods->utf8_reset)(ic);         return (*ic->methods->utf8_reset)(ic);
           else if (*ic->methods->mb_reset)
               return (*ic->methods->mb_reset)(ic);
       }
     return (char *)NULL;     return (char *)NULL;
 } }
  
Line 438 
Line 442 
     KeySym *keysym;     KeySym *keysym;
     Status *status;     Status *status;
 { {
     if (ic->core.im)      if (ic->core.im) {
           if (*ic->methods->utf8_lookup_string)
         return (*ic->methods->utf8_lookup_string) (ic, ev, buffer, nbytes,         return (*ic->methods->utf8_lookup_string) (ic, ev, buffer, nbytes,
                                                    keysym, status);                                                    keysym, status);
           else if (*ic->methods->mb_lookup_string)
               return (*ic->methods->mb_lookup_string) (ic, ev, buffer, nbytes,
                                                           keysym, status);
       }
     return XLookupNone;     return XLookupNone;
 } }


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

Powered by
ViewCVS 0.9.2