(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -312,9 +312,7 @@ private:
|
||||
Town *town; ///< Town displayed by the window.
|
||||
|
||||
public:
|
||||
enum {
|
||||
TVW_HEIGHT_NORMAL = 150,
|
||||
};
|
||||
static const int TVW_HEIGHT_NORMAL = 150;
|
||||
|
||||
TownViewWindow(const WindowDesc *desc, WindowNumber window_number) : Window()
|
||||
{
|
||||
|
Reference in New Issue
Block a user