change #define to a static const int

This commit is contained in:
Tomasz Śniatowski 2008-07-05 15:38:11 +01:00
parent 669d8fadc5
commit 42add73555

View file

@ -163,7 +163,7 @@ private:
void expand_wml_commands(std::vector<std::string>& items);
std::vector<wml_menu_item *> wml_commands_;
#define MAX_WML_COMMANDS 7
static const int MAX_WML_COMMANDS = 7;
};