diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-08 17:30:37 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-08 17:30:37 +0000 |
commit | 7156b2e5a72fb20c9fe1ffcc61b61470959c108f (patch) | |
tree | 88a2fa7520e5e8b21517303f9ddb5cbfd2fac9f5 /Magic2/GridProps.cpp | |
parent | f3f3a2b7fbd1df41cce104d62e88a6b04869298b (diff) | |
download | starshatter-7156b2e5a72fb20c9fe1ffcc61b61470959c108f.zip starshatter-7156b2e5a72fb20c9fe1ffcc61b61470959c108f.tar.gz starshatter-7156b2e5a72fb20c9fe1ffcc61b61470959c108f.tar.bz2 |
More of the same...
Diffstat (limited to 'Magic2/GridProps.cpp')
-rw-r--r-- | Magic2/GridProps.cpp | 6 |
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;
}
|