From 84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71 Mon Sep 17 00:00:00 2001 From: Krzysztof H Date: Fri, 9 Mar 2012 17:08:05 +0100 Subject: Added license info using a small program SrcHead. --- src/CBot/TestCBot/CBotConsoleDlg.cpp | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/CBot/TestCBot/CBotConsoleDlg.cpp') diff --git a/src/CBot/TestCBot/CBotConsoleDlg.cpp b/src/CBot/TestCBot/CBotConsoleDlg.cpp index 5f29e86..dfd4ec4 100644 --- a/src/CBot/TestCBot/CBotConsoleDlg.cpp +++ b/src/CBot/TestCBot/CBotConsoleDlg.cpp @@ -1,5 +1,18 @@ -// CBotConsoleDlg.cpp : implementation file -// +// * 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 +// * it under the terms of the GNU General Public License as published by +// * the Free Software Foundation, either version 3 of the License, or +// * (at your option) any later version. +// * +// * This program is distributed in the hope that it will be useful, +// * but WITHOUT ANY WARRANTY; without even the implied warranty of +// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// * 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 . #include "stdafx.h" #include "TestCBot.h" @@ -104,7 +117,7 @@ UINT ThreadProc(ThreadInfo *info) CTimeSpan ts = t - t0; char buffer[200]; - sprintf( buffer, "\r\nExécution terminée en %d secondes.\r\nInterrompue %d fois.\r\n", + sprintf( buffer, "\r\nEx�cution termin�e en %d secondes.\r\nInterrompue %d fois.\r\n", ts.GetTotalSeconds(), Cpt); info->m_pEdit1->ReplaceSel(buffer); @@ -168,7 +181,7 @@ void CBotConsoleDlg::OnOK() m_Edit2.EnableWindow(FALSE); m_cOK.EnableWindow(FALSE); - // lance un processus paralèle pour l'exécution + // lance un processus paral�le pour l'ex�cution m_threadinfo.m_pWndMessage = this ; m_threadinfo.m_pEdit1 = &m_Edit1; -- cgit v1.2.3-1-g7c22