[planetblupi] 01/15: Ensure that gettext strings are always regenerated

Didier Raboud odyx at moszumanska.debian.org
Thu Mar 15 07:59:40 UTC 2018


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit 0239d1e4ee7740c3a623c971f00217e445cf6240
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Tue Feb 13 23:38:23 2018 +0100

    Ensure that gettext strings are always regenerated
    
    - It fixes issue #52.
---
 src/event.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/event.cxx b/src/event.cxx
index ad7876b..3e5b65c 100644
--- a/src/event.cxx
+++ b/src/event.cxx
@@ -2448,7 +2448,7 @@ CEvent::DrawButtons ()
   // Affiche le texte lorsque c'est raté.
   if (m_phase == EV_PHASE_LOST)
   {
-    static char * list[] = {
+    const char * list[] = {
       gettext ("You have failed, try again..."),
       gettext ("No, wrong way ..."),
       gettext ("Bang, failed again !"),
@@ -2464,7 +2464,7 @@ CEvent::DrawButtons ()
   // Affiche le texte lorsque c'est réussi.
   if (m_phase == EV_PHASE_WIN)
   {
-    static char * list[] = {
+    const char * list[] = {
       gettext ("Well done !"),     gettext ("Yes, great ..."),
       gettext ("Very good."),      gettext ("Excellent..."),
       gettext ("Mission over..."),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list