summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 95bb964d1..c71d0eb52 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -337,8 +337,8 @@ void CharSelectDialog::use(const int selected)
void CharSelectDialog::keyPressed(KeyEvent &event)
{
const InputActionT actionId = event.getActionId();
- PRAGMA45("GCC diagnostic push")
- PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"")
+ PRAGMA45(GCC diagnostic push)
+ PRAGMA45(GCC diagnostic ignored "-Wswitch-enum")
switch (actionId)
{
case InputAction::GUI_CANCEL:
@@ -428,7 +428,7 @@ void CharSelectDialog::keyPressed(KeyEvent &event)
default:
break;
}
- PRAGMA45("GCC diagnostic pop")
+ PRAGMA45(GCC diagnostic pop)
}
/**