summaryrefslogtreecommitdiffhomepage
path: root/Magic2/GridProps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Magic2/GridProps.cpp')
-rw-r--r--Magic2/GridProps.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Magic2/GridProps.cpp b/Magic2/GridProps.cpp
index 8b252ec..d375ea9 100644
--- a/Magic2/GridProps.cpp
+++ b/Magic2/GridProps.cpp
@@ -44,10 +44,10 @@ GridProps::GridProps(Grid* g, CWnd* pParent /*=NULL*/)
static const char* C(CString& str)
{
static char buf[512];
-
- for (int i = 0; i < str.GetLength(); i++)
+ int i;
+ for (i = 0; i < str.GetLength(); i++)
buf[i] = (char) str.GetAt(i);
- buf[i] = 0;
+ buf[i] = 0;
return buf;
}