Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.c @ 952:527d6f234924
Small code cleanup
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 26 Aug 2006 21:13:13 +0200 |
parents | e3c49b2f8143 |
children | 95659cf9ea1a |
comparison
equal
deleted
inserted
replaced
951:f243293e70ad | 952:527d6f234924 |
---|---|
2278 // Return value: | 2278 // Return value: |
2279 // -1 if "seq" matches no known sequence | 2279 // -1 if "seq" matches no known sequence |
2280 // 0 if "seq" could match 1 or more known sequences | 2280 // 0 if "seq" could match 1 or more known sequences |
2281 // >0 if "seq" matches a key sequence; the mkey code is returned | 2281 // >0 if "seq" matches a key sequence; the mkey code is returned |
2282 // and *ret is set to the matching keyseq structure. | 2282 // and *ret is set to the matching keyseq structure. |
2283 static inline guint match_keyseq(int *iseq, keyseq **ret) | 2283 static inline gint match_keyseq(int *iseq, keyseq **ret) |
2284 { | 2284 { |
2285 GSList *ksl; | 2285 GSList *ksl; |
2286 keyseq *ksp; | 2286 keyseq *ksp; |
2287 char *p, c; | 2287 char *p, c; |
2288 int *i; | 2288 int *i; |