(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -34,12 +34,10 @@
|
||||
#include "table/strings.h"
|
||||
|
||||
/** Company GUI constants. */
|
||||
enum {
|
||||
FIRST_GUI_CALL = INT_MAX, ///< default value to specify this is the first call of the resizable gui
|
||||
static const int FIRST_GUI_CALL = INT_MAX; ///< default value to specify this is the first call of the resizable gui
|
||||
|
||||
EXP_LINESPACE = 2, ///< Amount of vertical space for a horizontal (sub-)total line.
|
||||
EXP_BLOCKSPACE = 10, ///< Amount of vertical space between two blocks of numbers.
|
||||
};
|
||||
static const uint EXP_LINESPACE = 2; ///< Amount of vertical space for a horizontal (sub-)total line.
|
||||
static const uint EXP_BLOCKSPACE = 10; ///< Amount of vertical space between two blocks of numbers.
|
||||
|
||||
static void DoSelectCompanyManagerFace(Window *parent);
|
||||
|
||||
|
Reference in New Issue
Block a user