This is an automated email from the git hooks/post-receive script. odyx pushed a commit to branch debian/master in repository colobot.
commit 6832c914963ac9307fc17d494abd6bca4946d07b Author: krzys-h <krzy...@interia.pl> Date: Sun Dec 20 14:28:38 2015 +0100 Fixed #695 --- src/level/robotmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp index 5110749..5926571 100644 --- a/src/level/robotmain.cpp +++ b/src/level/robotmain.cpp @@ -2200,8 +2200,8 @@ void CRobotMain::HelpObject() CObject* obj = GetSelect(); if (obj == nullptr) return; - const char* filename = GetHelpFilename(obj->GetType()).c_str(); - if (filename[0] == 0) return; + std::string filename = GetHelpFilename(obj->GetType()); + if (filename.empty()) return; StartDisplayInfo(filename, -1); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits