commit 0a120a0989c221a351338c3a98e5f8e2cf6e9d13
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Mar 31 15:29:52 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Mar 31 15:51:38 2018 +0300
Make V_ScreenShot parameter const
---
src/v_video.c | 2 +-
src/v_video.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/v_video.c b/src/v_video.c
index 293c4467..cea37c22 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -831,7 +831,7 @@ void WritePNGfile(char *filename, byte *data,
// 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!
diff --git a/src/v_video.h b/src/v_video.h
index 466dcaee..f9c18f9a 100644
--- a/src/v_video.h
+++ b/src/v_video.h
@@ -89,7 +89,7 @@ void V_RestoreBuffer(void);
// 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.