[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/wxwin mainframe.cc
From: |
eliot-dev |
Subject: |
[Eliot-dev] eliot/wxwin mainframe.cc |
Date: |
Tue, 27 Dec 2005 01:06:12 +0000 |
CVSROOT: /cvsroot/eliot
Module name: eliot
Branch:
Changes by: Antoine Fraboulet <address@hidden> 05/12/27 01:06:12
Modified files:
wxwin : mainframe.cc
Log message:
- correct +1 in history size
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/wxwin/mainframe.cc.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
Patches:
Index: eliot/wxwin/mainframe.cc
diff -u eliot/wxwin/mainframe.cc:1.16 eliot/wxwin/mainframe.cc:1.17
--- eliot/wxwin/mainframe.cc:1.16 Mon Dec 26 22:59:57 2005
+++ eliot/wxwin/mainframe.cc Tue Dec 27 01:06:12 2005
@@ -944,7 +944,7 @@
if (m_game)
{
text = wxT("");
- text << wxT("coup:") << (m_game->getHistory().getSize()) << wxT("
");
+ text << wxT("coup:") << (m_game->getHistory().getSize() + 1) <<
wxT(" ");
text << wxT("points:") << (m_game->getCurrentPlayer().getPoints());
statusbar->SetStatusText(text, 1);
}
@@ -1029,7 +1029,7 @@
}
else
{
- int n;
+ int n=0;
debug("MainFrame::Play +%d\n",n);
#ifdef ENABLE_RESLIST_IN_MAIN
n = reslist->GetSelected();