diff options
Diffstat (limited to 'src/widget_type.h')
-rw-r--r-- | src/widget_type.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widget_type.h b/src/widget_type.h index 4c9585eb2..fca5f3c56 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -18,9 +18,7 @@ #include "gfx_type.h" #include "window_type.h" -enum { - WIDGET_LIST_END = -1, ///< indicate the end of widgets' list for vararg functions -}; +static const int WIDGET_LIST_END = -1; ///< indicate the end of widgets' list for vararg functions /** Bits of the #WWT_MATRIX widget data. */ enum MatrixWidgetValues { |