foxygit / doom Log in
commit 4925d7fa9ff26ee2b07878c0d3c7f5fee8f7152d
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 18:50:51 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 18:50:51 2018 +0300

    heretic: Fix const correctness issue in DrawMainBar
---
 src/heretic/sb_bar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/heretic/sb_bar.c b/src/heretic/sb_bar.c
index 6392ab6c..9a737121 100644
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -885,7 +885,7 @@ void DrawMainBar(void)

 void DrawInventoryBar(void)
 {
-    char *patch;
+    const char *patch;
     int i;
     int x;