summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 5abac99..62401a0 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -937,18 +937,18 @@ char* SystemTools::ReplaceChars(char* str, const char *toreplace, char replaceme
}
// Returns if string starts with another string
-bool vtkString::StringStartsWith(const char* str1, const char* str2)
+bool SystemTools::StringStartsWith(const char* str1, const char* str2)
{
if (!str1 || !str2)
{
return false;
}
size_t len1 = strlen(str1), len2 = strlen(str2);
- return len1 >= len2 && !strncmp(str1, str2, len2) ? true : false
+ return len1 >= len2 && !strncmp(str1, str2, len2) ? true : false;
}
// Returns if string ends with another string
-bool vtkString::StringEndsWith(const char* str1, const char* str2)
+bool SystemTools::StringEndsWith(const char* str1, const char* str2)
{
if (!str1 || !str2)
{