shithub: choc

Download patch

ref: 1c632203cc2226b121d42080298111b7f471434a
parent: 3190921bbb90d2b9348f2a1923e4f8bb4db322c6
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 11:49:52 EDT 2018

Make V_EnableLoadingDisk lump_name parameter const

--- a/src/v_diskicon.c
+++ b/src/v_diskicon.c
@@ -88,7 +88,7 @@
     Z_Free(tmpscreen);
 }
 
-void V_EnableLoadingDisk(char *lump_name, int xoffs, int yoffs)
+void V_EnableLoadingDisk(const char *lump_name, int xoffs, int yoffs)
 {
     loading_disk_xoffs = xoffs;
     loading_disk_yoffs = yoffs;
--- a/src/v_diskicon.h
+++ b/src/v_diskicon.h
@@ -24,7 +24,7 @@
 #define LOADING_DISK_W 16
 #define LOADING_DISK_H 16
 
-extern void V_EnableLoadingDisk(char *lump_name, int xoffs, int yoffs);
+extern void V_EnableLoadingDisk(const char *lump_name, int xoffs, int yoffs);
 extern void V_BeginRead(size_t nbytes);
 extern void V_DrawDiskIcon(void);
 extern void V_RestoreDiskBackground(void);