summaryrefslogtreecommitdiff
path: root/core/ustring.h
diff options
context:
space:
mode:
authorJulian Murgia - StraToN <the.straton@gmail.com>2016-02-17 19:26:22 +0100
committerJulian Murgia - StraToN <the.straton@gmail.com>2016-02-17 19:26:22 +0100
commit7b47153072eca95c0becf1dc735637d228b4e427 (patch)
tree1f401d388ce0e1b12557aede21782d62fedbc3f0 /core/ustring.h
parent39f69cbfc33255edc3067372fa31fb2e8fa6f356 (diff)
Fixed String::camelcase_to_underscore() so it works in all cases. Fixes PR #1650
Diffstat (limited to 'core/ustring.h')
-rw-r--r--core/ustring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.h b/core/ustring.h
index 9276afa0f7..e65103ff99 100644
--- a/core/ustring.h
+++ b/core/ustring.h
@@ -149,7 +149,7 @@ public:
static double to_double(const CharType* p_str, const CharType **r_end=NULL);
static int64_t to_int(const CharType* p_str,int p_len=-1);
String capitalize() const;
- String camelcase_to_underscore() const;
+ String camelcase_to_underscore(bool lowercase=true) const;
int get_slice_count(String p_splitter) const;
String get_slice(String p_splitter,int p_slice) const;