summaryrefslogtreecommitdiff
path: root/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools.cpp')
-rw-r--r--tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools.cpp b/tools.cpp
index beded35..da83aff 100644
--- a/tools.cpp
+++ b/tools.cpp
@@ -71,7 +71,7 @@ string StringRepeat(int times, const string& input)
return result;
}
-string StringWordTruncated(const string& input, size_t maxLen, bool& truncated)
+string StringWordTruncate(const string& input, size_t maxLen, bool& truncated)
{
if (input.length() <= maxLen)
{