foxygit / doom Log in
commit f4474aead4faebd99ec6f17d71dd07e9793160df
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Apr 24 19:10:30 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Apr 24 19:10:30 2018 +0300

    doom: Fix const correctness issue in R_FillBackScreen
---
 src/doom/r_draw.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/doom/r_draw.c b/src/doom/r_draw.c
index a5ab55a4..43c4b4b8 100644
--- a/src/doom/r_draw.c
+++ b/src/doom/r_draw.c
@@ -818,12 +818,12 @@ void R_FillBackScreen (void)
     patch_t*	patch;

     // DOOM border patch.
-    char       *name1 = DEH_String("FLOOR7_2");
+    const char *name1 = DEH_String("FLOOR7_2");

     // DOOM II border patch.
-    char *name2 = DEH_String("GRNROCK");
+    const char *name2 = DEH_String("GRNROCK");

-    char *name;
+    const char *name;

     // If we are running full screen, there is no need to do any of this,
     // and the background buffer can be freed if it was previously in use.