| 640 | |
| 641 | |
| 642 | char* SupportDBCS::strrchrd(const char *s, int c) |
| 643 | { |
| 644 | const char *found=NULL; |
| 645 | while (*s!=0) |
| 646 | if (IsLeadByte[(byte)*s]) |
| 647 | s+=2; |
| 648 | else |
| 649 | { |
| 650 | if (*s==c) |
| 651 | found=s; |
| 652 | s++; |
| 653 | } |
| 654 | return((char *)found); |
| 655 | } |
| 656 | #endif |
| 657 | |
| 658 |