[colobot] 217/390: Fixed #386
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch upstream/latest
in repository colobot.
commit 7b03479a85c6b26e7efba3787ae77110800af052
Author: tomangelo2 <drugitom at wp.pl>
Date: Wed Nov 12 10:07:25 2014 +0100
Fixed #386
---
src/script/cbottoken.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/script/cbottoken.cpp b/src/script/cbottoken.cpp
index 5a23c3e..b49869f 100644
--- a/src/script/cbottoken.cpp
+++ b/src/script/cbottoken.cpp
@@ -256,6 +256,7 @@ std::string GetHelpFilename(const char *token)
if ( strcmp(token, "getresearchenable" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/getresen.txt");
if ( strcmp(token, "getresearchdone" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/getresdo.txt");
if ( strcmp(token, "retobject" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/retobj.txt");
+ if ( strcmp(token, "errmode" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/errmode.txt");
if ( strcmp(token, "progfunc" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/factory.txt");
if ( strcmp(token, "busy" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/busy.txt");
if ( strcmp(token, "takeoff" ) == 0 ) return std::string("help/") + CApplication::GetInstancePointer()->GetLanguageChar() + std::string("/cbot/takeoff.txt");
@@ -519,7 +520,7 @@ const char* GetHelpText(const char *token)
if ( strcmp(token, "message" ) == 0 ) return "message ( string, type );";
if ( strcmp(token, "abstime" ) == 0 ) return "abstime ( );";
if ( strcmp(token, "ismovie" ) == 0 ) return "ismovie ( );";
- if ( strcmp(token, "errmode" ) == 0 ) return "errmode ( mdoe );";
+ if ( strcmp(token, "errmode" ) == 0 ) return "errmode ( mode );";
if ( strcmp(token, "ipf" ) == 0 ) return "ipf ( number );";
if ( strcmp(token, "strlen" ) == 0 ) return "strlen ( string );";
if ( strcmp(token, "strleft" ) == 0 ) return "strleft ( string, len );";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list