- long check = 0;
- long myWins = 0, myGames = 0, myScore = 0;
-
- games = wins = score = 0;
-
- m_config->SetPath(_T("/Players"));
- m_config->SetPath(player);
- if (m_config->Read(_T("Score"), &myScore, 0L) &&
- m_config->Read(_T("Games"), &myGames, 0L) &&
- m_config->Read(_T("Wins"), &myWins, 0L) &&
- m_config->Read(_T("Check"), &check, 0L))
- {
- if (check != CalcCheck(player, myGames, myWins, myScore))
- {
- wxMessageBox(_T("Score file corrupted"), _T("Warning"),
+ long check = 0;
+ long myWins = 0, myGames = 0, myScore = 0;
+
+ games = wins = score = 0;
+
+ m_config->SetPath(wxT("/Players"));
+ m_config->SetPath(player);
+ if (m_config->Read(wxT("Score"), &myScore, 0L) &&
+ m_config->Read(wxT("Games"), &myGames, 0L) &&
+ m_config->Read(wxT("Wins"), &myWins, 0L) &&
+ m_config->Read(wxT("Check"), &check, 0L))
+ {
+ if (check != CalcCheck(player, myGames, myWins, myScore))
+ {
+ wxMessageBox(wxT("Score file corrupted"), wxT("Warning"),