change #define to a static const int
This commit is contained in:
parent
669d8fadc5
commit
42add73555
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue