diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-04-15 00:50:13 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-04-15 00:50:13 +0200 |
commit | 011d86ed668cbbff5c7bfc5f7e88086acb849921 (patch) | |
tree | a47f2a0d1f61f33455c5b53f9ef63741ca9b35d8 /src/ClassFILE.cpp | |
parent | a0303105b616331778b61db06f9012f5c8970609 (diff) | |
download | colobot-011d86ed668cbbff5c7bfc5f7e88086acb849921.tar.gz colobot-011d86ed668cbbff5c7bfc5f7e88086acb849921.tar.bz2 colobot-011d86ed668cbbff5c7bfc5f7e88086acb849921.zip |
Pulled changes from test mingw branch
* include fixes
* syntax fixes for MinGW
* fixed encoding of restext.cpp
* temporary fix for MinGW in joystick.cpp
Successfully compiles under MinGW :)
Diffstat (limited to 'src/ClassFILE.cpp')
-rw-r--r-- | src/ClassFILE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClassFILE.cpp b/src/ClassFILE.cpp index 8ca26a1..ef98e14 100644 --- a/src/ClassFILE.cpp +++ b/src/ClassFILE.cpp @@ -291,7 +291,7 @@ BOOL rfwrite (CBotVar* pThis, CBotVar* pVar, CBotVar* pResult, int& Exception) FILE* pFile= (FILE*)pVar->GivValInt();
- int res = fputs(param+"\n", pFile);
+ int res = fputs(param+CBotString("\n"), pFile);
// if an error occurs generate an exception
if ( res < 0 ) { Exception = CBotErrWrite; return FALSE; }
|