| 487 | |
| 488 | #ifndef SFX_MODULE |
| 489 | wchar* wcslower(wchar *s) |
| 490 | { |
| 491 | #ifdef _WIN_ALL |
| 492 | // _wcslwr requires setlocale and we do not want to depend on setlocale |
| 493 | // in Windows. Also CharLower involves less overhead. |
| 494 | CharLower(s); |
| 495 | #else |
| 496 | for (wchar *c=s;*c!=0;c++) |
| 497 | *c=towlower(*c); |
| 498 | #endif |
| 499 | return s; |
| 500 | } |
| 501 | #endif |
| 502 | |
| 503 |