summaryrefslogtreecommitdiffstats
path: root/3rdparty/clucene/src/CLucene/config/repl_tcslwr.cpp
blob: 2ae6abca45a3da798c654f5425c551946ccc5405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
* 
* Distributable under the terms of either the Apache License (Version 2.0) or 
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
 
#include "CLucene/StdHeader.h"

TCHAR* lucene_tcslwr( TCHAR* str )
{
    TCHAR* ret = str;
    for ( ; *str; str++) *str = _totlower(*str);
    return ret;
}