diff options
Diffstat (limited to 'src/gui/confirm_dialog.cpp')
-rw-r--r-- | src/gui/confirm_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/confirm_dialog.cpp b/src/gui/confirm_dialog.cpp index 7e1ef983..dc710961 100644 --- a/src/gui/confirm_dialog.cpp +++ b/src/gui/confirm_dialog.cpp @@ -45,9 +45,9 @@ ConfirmDialog::ConfirmDialog(Window *parent, const std::string &title, void ConfirmDialog::init(const std::string &msg, gcn::ActionListener *listener) { - userLabel = new gcn::Label(msg); - yesButton = new Button("Yes"); - noButton = new Button("No"); + gcn::Label *userLabel = new gcn::Label(msg); + Button *yesButton = new Button("Yes"); + Button *noButton = new Button("No"); int w = userLabel->getWidth() + 20; int inWidth = yesButton->getWidth() + noButton->getWidth() + 5; |