compilation fixes after string changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-06-27 20:49:19 +00:00
parent 7f2bcd064c
commit bd0b594dff
9 changed files with 14 additions and 16 deletions

View File

@@ -128,7 +128,7 @@ void ScoreFile::ReadPlayersScore(
void ScoreFile::WritePlayersScore(const wxString& player, int wins, int games, int score)
{
if (player)
if (!player.empty())
{
m_config->SetPath(_T("/General"));
m_config->Write(_T("LastPlayer"), wxString(player)); // Without wxString tmp, thinks it's bool in VC++