summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r--src/gui/widgets/dropdown.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index 05ca7124f..6e6d56652 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -334,8 +334,8 @@ void DropDown::keyPressed(KeyEvent& event)
return;
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_SELECT:
@@ -366,7 +366,7 @@ void DropDown::keyPressed(KeyEvent& event)
default:
return;
}
- PRAGMA45("GCC diagnostic pop")
+ PRAGMA45(GCC diagnostic pop)
event.consume();
}