From 69d405520c933b2f4c659ea6af00eb4bb7a4512f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Feb 2012 17:01:33 +0300 Subject: Fix compilation warnings after previous commits. --- src/client.cpp | 2 +- src/gui/editserverdialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client.cpp b/src/client.cpp index 835bbc965..634fa1e80 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -251,7 +251,7 @@ Client::Client(const Options &options): mServerConfigDir(""), mUsersDir(""), mNpcsDir(""), - mGame(0), + mGame(nullptr), mCurrentDialog(nullptr), mQuitDialog(nullptr), mDesktop(nullptr), diff --git a/src/gui/editserverdialog.cpp b/src/gui/editserverdialog.cpp index 43457456e..c22446933 100644 --- a/src/gui/editserverdialog.cpp +++ b/src/gui/editserverdialog.cpp @@ -234,6 +234,6 @@ void EditServerDialog::keyPressed(gcn::KeyEvent &keyEvent) } else if (key.getValue() == Key::ENTER) { - action(gcn::ActionEvent(NULL, mOkButton->getActionEventId())); + action(gcn::ActionEvent(nullptr, mOkButton->getActionEventId())); } } -- cgit v1.2.3-70-g09d2