summaryrefslogtreecommitdiffstats
path: root/src/CBot/CBotString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CBot/CBotString.cpp')
-rw-r--r--src/CBot/CBotString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CBot/CBotString.cpp b/src/CBot/CBotString.cpp
index 84f9ca2..e52cd05 100644
--- a/src/CBot/CBotString.cpp
+++ b/src/CBot/CBotString.cpp
@@ -188,7 +188,7 @@ CBotString CBotString::Right(int nCount) const
if ( i < 0 ) i = 0;
int j;
- for (int j = 0 ; i < m_lg && i < 1999; ++i)
+ for (j = 0 ; i < m_lg && i < 1999; ++i)
{
chain[j++] = m_ptr[i];
}