diff options
Diffstat (limited to 'src/gui/windows/okdialog.cpp')
-rw-r--r-- | src/gui/windows/okdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/okdialog.cpp b/src/gui/windows/okdialog.cpp index 1f77af3f9..1a6c0c3c8 100644 --- a/src/gui/windows/okdialog.cpp +++ b/src/gui/windows/okdialog.cpp @@ -39,7 +39,7 @@ OkDialog::OkDialog(const std::string &restrict title, const std::string &restrict button, const int soundEvent, const Modal modal, - const bool showCenter, + const ShowCenter showCenter, Window *const parent, const int minWidth) : Window(title, modal, parent, "ok.xml"), @@ -73,7 +73,7 @@ OkDialog::OkDialog(const std::string &restrict title, add(mTextBox); add(okButton); - if (showCenter) + if (showCenter == ShowCenter_true) center(); else centerHorisontally(); |