summaryrefslogtreecommitdiff
path: root/src/video/allegro_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/allegro_v.cpp')
-rw-r--r--src/video/allegro_v.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp
index 9d9ef1f57..2739d0f31 100644
--- a/src/video/allegro_v.cpp
+++ b/src/video/allegro_v.cpp
@@ -318,10 +318,8 @@ static uint32 ConvertAllegroKeyIntoMy()
return (key << 16) + unicode;
}
-enum {
- LEFT_BUTTON,
- RIGHT_BUTTON,
-};
+static const uint LEFT_BUTTON = 0;
+static const uint RIGHT_BUTTON = 1;
static void PollEvent()
{