diff options
author | Krzysztof H <krzys_h@interia.pl> | 2012-03-19 12:44:39 +0100 |
---|---|---|
committer | Krzysztof H <krzys_h@interia.pl> | 2012-03-19 12:44:39 +0100 |
commit | f7d892cf4ef6bfce3747c4b6a810d4828b79833d (patch) | |
tree | 8311c7057b5f861c387ecc8c96cd778abc47c8d8 /src/CBot/CBotString.cpp | |
parent | 343cb0ce660136ac034e6106c0f151466b751398 (diff) | |
download | colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.tar.gz colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.tar.bz2 colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.zip |
Last coding fix ;)
Diffstat (limited to 'src/CBot/CBotString.cpp')
-rw-r--r-- | src/CBot/CBotString.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/CBot/CBotString.cpp b/src/CBot/CBotString.cpp index 950b0e1..5d19861 100644 --- a/src/CBot/CBotString.cpp +++ b/src/CBot/CBotString.cpp @@ -1,4 +1,4 @@ -// * This file is part of the COLOBOT source code
+// * This file is part of the COLOBOT source code
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
// *
// * This program is free software: you can redistribute it and/or modify
@@ -12,13 +12,16 @@ // * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
-// * along with this program. If not, see http://www.gnu.org/licenses/.
+// * along with this program. If not, see http://www.gnu.org/licenses/./////////////////////////////////////////////////////
+// gestion de chaine
+// basé sur le CString de MFC
+// mais moins complet
#include "CBot.h"
#include <string.h>
-HINSTANCE CBotString::m_hInstance = (HINSTANCE)LoadLibrary("Cbot.dll"); // comment le r�cup�rer autrement ??
+HINSTANCE CBotString::m_hInstance = (HINSTANCE)LoadLibrary("Cbot.dll"); // comment le récupérer autrement ??
CBotString::CBotString()
@@ -449,7 +452,7 @@ CBotStringArray::CBotStringArray() CBotStringArray::~CBotStringArray()
{
- SetSize(0); // d�truit les donn�es !
+ SetSize(0); // détruit les données !
}
@@ -514,7 +517,7 @@ static void CopyElements(CBotString* pDest, CBotString* pSrc, int nCount) -// s�lect la taille du tableau
+// sélect la taille du tableau
void CBotStringArray::SetSize(int nNewSize)
{
|