Mercurial > hg > xemacs-beta
comparison src/mule-wnnfns.c @ 102:a145efe76779 r20-1b3
Import from CVS: tag r20-1b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:15:49 +0200 |
parents | 0d2f883870bc |
children | 1370575f1259 |
comparison
equal
deleted
inserted
replaced
101:a0ec055d74dd | 102:a145efe76779 |
---|---|
901 CHECK_INT (no); | 901 CHECK_INT (no); |
902 CHECK_INT (serial); | 902 CHECK_INT (serial); |
903 if ((snum = check_wnn_server_type ()) == -1) return Qnil; | 903 if ((snum = check_wnn_server_type ()) == -1) return Qnil; |
904 lb = lb_wnn_server_type[snum]; | 904 lb = lb_wnn_server_type[snum]; |
905 if (!wnnfns_buf[snum]) return Qnil; | 905 if (!wnnfns_buf[snum]) return Qnil; |
906 if ((int)(info_buf = jl_word_info (wnnfns_buf[snum], | 906 if ((info_buf = jl_word_info (wnnfns_buf[snum], |
907 XINT (no), XINT (serial))) <= 0) | 907 XINT (no), XINT (serial))) != NULL) |
908 { | 908 { |
909 return Qnil; | 909 return Qnil; |
910 } | 910 } |
911 else | 911 else |
912 { | 912 { |
2062 #else | 2062 #else |
2063 { | 2063 { |
2064 Lisp_Object yes, str; | 2064 Lisp_Object yes, str; |
2065 | 2065 |
2066 str = make_string (mbuf, len); | 2066 str = make_string (mbuf, len); |
2067 yes = call1(Qyes_or_no_p, EQ(str, Qnil)); | 2067 yes = call1(Qyes_or_no_p, str); |
2068 if (NILP (yes)) return 0; | 2068 if (NILP (yes)) return 0; |
2069 else return (1); | 2069 else return (1); |
2070 } | 2070 } |
2071 #endif | 2071 #endif |
2072 } | 2072 } |