summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 45e7175..d2f138f 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -836,7 +836,7 @@ kwsys_stl::string SystemTools::AddSpaceBetweenCapitalizedWords(
{
n += ' ';
}
- n += s[0];
+ n += s[i];
}
}
return n;