From 63903f9aac430d321a3063fbc79d61ccae6db22e Mon Sep 17 00:00:00 2001 From: James Haley Date: Mon, 14 Feb 2011 02:21:42 +0000 Subject: Fix to HUlib_drawYellowText (more Hex-Rays code-skipping shenanigans), and finished ST_drawKeysPopup for drawing keys (TODO: in deathmatch it draws frags instead). Fix to buffer overflow in V_ScreenShot - *ATTN fraggle* - needs fix in trunk! Subversion-branch: /branches/strife-branch Subversion-revision: 2265 --- src/v_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/v_video.c') diff --git a/src/v_video.c b/src/v_video.c index 3d874d6c..d18dbb7a 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -653,7 +653,7 @@ void WritePCXfile(char *filename, byte *data, void V_ScreenShot(char *format) { int i; - char lbmname[12]; + char lbmname[16]; // haleyjd 20110213: BUG FIX - 12 is too small! // find a file name to save it to -- cgit v1.2.3