shithub: choc

Download patch

ref: 0a120a0989c221a351338c3a98e5f8e2cf6e9d13
parent: 52313be61440a43fb65ef1a79030a420eb664bea
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 11:29:52 EDT 2018

Make V_ScreenShot parameter const

--- a/src/v_video.c
+++ b/src/v_video.c
@@ -831,7 +831,7 @@
 // V_ScreenShot
 //
 
-void V_ScreenShot(char *format)
+void V_ScreenShot(const char *format)
 {
     int i;
     char lbmname[16]; // haleyjd 20110213: BUG FIX - 12 is too small!
--- a/src/v_video.h
+++ b/src/v_video.h
@@ -89,7 +89,7 @@
 // format described in the string passed to the function, eg.
 // "DOOM%02i.pcx"
 
-void V_ScreenShot(char *format);
+void V_ScreenShot(const char *format);
 
 // Load the lookup table for translucency calculations from the TINTTAB
 // lump.