summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 0f05f39d0..1bbaefc17 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -82,10 +82,8 @@ void ScreenSizeChanged();
void GameSizeChanged();
void UndrawMouseCursor();
-enum {
- /* Size of the buffer used for drawing strings. */
- DRAW_STRING_BUFFER = 2048,
-};
+/** Size of the buffer used for drawing strings. */
+static const int DRAW_STRING_BUFFER = 2048;
void RedrawScreenRect(int left, int top, int right, int bottom);
void GfxScroll(int left, int top, int width, int height, int xo, int yo);