diff --git a/src/doom/crlfunc.c b/src/doom/crlfunc.c index 03e78de9..306c8f6b 100644 --- a/src/doom/crlfunc.c +++ b/src/doom/crlfunc.c @@ -581,7 +581,7 @@ void CRL_StatDrawer (void) void CRL_DrawFPS (void) { - char fps[4]; + char fps[8]; char fps_str[4]; sprintf(fps, "%d", CRL_fps); diff --git a/src/heretic/crlfunc.c b/src/heretic/crlfunc.c index 510d7ddc..f0adc1c3 100644 --- a/src/heretic/crlfunc.c +++ b/src/heretic/crlfunc.c @@ -448,7 +448,7 @@ void CRL_StatDrawer (void) void CRL_DrawFPS (void) { - char fps[4]; + char fps[8]; char fps_str[4]; sprintf(fps, "%d", CRL_fps);