| 638 | } |
| 639 | |
| 640 | char * |
| 641 | SDL_strupr(char *string) |
| 642 | { |
| 643 | #if defined(HAVE__STRUPR) |
| 644 | return _strupr(string); |
| 645 | #else |
| 646 | char *bufp = string; |
| 647 | while (*bufp) { |
| 648 | *bufp = SDL_toupper((unsigned char) *bufp); |
| 649 | ++bufp; |
| 650 | } |
| 651 | return string; |
| 652 | #endif /* HAVE__STRUPR */ |
| 653 | } |
| 654 | |
| 655 | char * |
| 656 | SDL_strlwr(char *string) |
no test coverage detected