This is an automated email from the git hooks/post-receive script. odyx pushed a commit to branch debian/master in repository planetblupi.
commit a17a7e1ddac65859865cfb5e215498583e748a08 Author: Mathieu Schroeter <math...@schroetersa.ch> Date: Mon Oct 23 19:30:59 2017 +0200 Prevent bad values with the language to restore --- src/event.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/event.cxx b/src/event.cxx index 50d40c7..6acc8d8 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -4585,7 +4585,11 @@ CEvent::ReadInfo () m_pSound->SetMidiVolume (info.midiVolume); if ((info.majRev == 1 && info.minRev >= 1) || info.majRev >= 2) + { + if (info.language >= static_cast<int> (Language::end)) + info.language = 0; this->SetLanguage (static_cast<Language> (info.language)); + } fclose (file); return true; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.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