From a8665d204255b4b0ad9ae6982f77ecd5e053c1b6 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 11 Jun 2012 17:28:27 +0200 Subject: Changed #defined constants to consts; typedef struct -> struct --- src/ui/maindialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/maindialog.cpp') 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; -- cgit v1.2.3-1-g7c22