aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/StringUtil.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-07-01 01:49:13 (GMT)
committerrathnor <rathnor>2003-07-01 01:49:13 (GMT)
commit015c61ede0661fe4e563052b4d8418ac6223e843 (patch)
treeb5c5051cf3bd594ebbb9bb977ff09af308ea9b00 /src/FbTk/StringUtil.cc
parent17665c37f7a19cf21526bc1ff1654d26446956a2 (diff)
downloadfluxbox-015c61ede0661fe4e563052b4d8418ac6223e843.zip
fluxbox-015c61ede0661fe4e563052b4d8418ac6223e843.tar.bz2
make it work... (fix some small issues)
Diffstat (limited to 'src/FbTk/StringUtil.cc')
-rw-r--r--src/FbTk/StringUtil.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc
index 5d6c742..761014f 100644
--- a/src/FbTk/StringUtil.cc
+++ b/src/FbTk/StringUtil.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: StringUtil.cc,v 1.2 2003/06/12 15:14:02 rathnor Exp $ 22// $Id: StringUtil.cc,v 1.3 2003/07/01 01:49:13 rathnor Exp $
23 23
24#include "StringUtil.hh" 24#include "StringUtil.hh"
25 25
@@ -152,6 +152,13 @@ void toLower(char * const conv) {
152 conv[byte_pos] = tolower(conv[byte_pos]); 152 conv[byte_pos] = tolower(conv[byte_pos]);
153} 153}
154 154
155std::string toLower(const std::string &conv) {
156 char ret_str[conv.size()+1];
157 ::strcpy(ret_str, conv.c_str());
158 toLower(ret_str);
159 return ret_str;
160}
161
155}; // end namespace StringUtil 162}; // end namespace StringUtil
156 163
157}; // end namespace FbTk 164}; // end namespace FbTk