========================================================================== ==========================================================================
| 451 | // |
| 452 | //========================================================================== |
| 453 | int MatchString (const char *in, const char **strings) |
| 454 | { |
| 455 | int i; |
| 456 | |
| 457 | for (i = 0; *strings != NULL; i++) |
| 458 | { |
| 459 | if (!stricmp(in, *strings++)) |
| 460 | { |
| 461 | return i; |
| 462 | } |
| 463 | } |
| 464 | return -1; |
| 465 | } |
| 466 | |
| 467 | //========================================================================== |
| 468 | // |
no test coverage detected