version 1.22 | | version 1.23 |
---|
| | |
/* | | /* |
* static char *rcsid_readable_c = | | * static char *rcsid_readable_c = |
* "$Id: readable.c,v 1.22 2005/09/25 09:47:22 ryo_saeba Exp $"; | | * "$Id: readable.c,v 1.23 2005/10/13 07:24:28 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
readable_message_type* get_readable_message_type(object* readable){ | | readable_message_type* get_readable_message_type(object* readable){ |
uint8 subtype = readable->subtype; | | uint8 subtype = readable->subtype; |
if ((subtype<0) || (subtype>last_readable_subtype)) | | if (subtype>last_readable_subtype) |
return &(readable_message_types[0]); | | return &(readable_message_types[0]); |
return &(readable_message_types[subtype]); | | return &(readable_message_types[subtype]); |
} | | } |