summaryrefslogtreecommitdiffstats
path: root/src/CBot/ClassFILE.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-04-15 00:50:13 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-04-15 00:50:13 +0200
commit011d86ed668cbbff5c7bfc5f7e88086acb849921 (patch)
treea47f2a0d1f61f33455c5b53f9ef63741ca9b35d8 /src/CBot/ClassFILE.cpp
parenta0303105b616331778b61db06f9012f5c8970609 (diff)
downloadcolobot-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/CBot/ClassFILE.cpp')
-rw-r--r--src/CBot/ClassFILE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CBot/ClassFILE.cpp b/src/CBot/ClassFILE.cpp
index c80e109..e4dd578 100644
--- a/src/CBot/ClassFILE.cpp
+++ b/src/CBot/ClassFILE.cpp
@@ -292,7 +292,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);
// en cas d'erreur génère une exception
if ( res < 0 ) { Exception = CBotErrWrite; return FALSE; }