========================================================================== ==========================================================================
| 271 | // |
| 272 | //========================================================================== |
| 273 | int MatchString (const char *in, const char **strings) |
| 274 | { |
| 275 | int i; |
| 276 | |
| 277 | for (i = 0; *strings != NULL; i++) |
| 278 | { |
| 279 | if (!stricmp(in, *strings++)) |
| 280 | { |
| 281 | return i; |
| 282 | } |
| 283 | } |
| 284 | return -1; |
| 285 | } |
| 286 | |
| 287 | //========================================================================== |
| 288 | // |
no test coverage detected