summaryrefslogtreecommitdiffstats
path: root/src/ui/maindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/maindialog.cpp')
-rw-r--r--src/ui/maindialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 40ac4c9..175474d 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -61,15 +61,15 @@
-#define KEY_VISIBLE 6 // number of visible keys redefinable
+const int KEY_VISIBLE = 6; // number of visible keys redefinable
#if _SCHOOL & _TEEN
-#define KEY_TOTAL 13 // total number of keys redefinable
+const int KEY_TOTAL = 13; // total number of keys redefinable
#else
-#define KEY_TOTAL 21 // total number of keys redefinable
+const int KEY_TOTAL = 21; // total number of keys redefinable
#endif
-#define WELCOME_LENGTH 6.0f
+const int WELCOME_LENGTH = 6.0f;