diff options
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 095b6d5dc..80264f5fe 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -147,10 +147,8 @@ private: const GRFConfig *sel; int sel_pos; - enum { - EDITBOX_MAX_SIZE = 50, - EDITBOX_MAX_LENGTH = 300, - }; + static const uint EDITBOX_MAX_SIZE = 50; + static const uint EDITBOX_MAX_LENGTH = 300; /** * (Re)build the grf as its amount has changed because |