ref: f4474aead4faebd99ec6f17d71dd07e9793160df
parent: 6213afee9fe503d9e92aceee676ed6548a9a4c55
author: Turo Lamminen <turotl@gmail.com>
date: Tue Apr 24 15:10:30 EDT 2018
doom: Fix const correctness issue in R_FillBackScreen
--- a/src/doom/r_draw.c
+++ b/src/doom/r_draw.c
@@ -818,12 +818,12 @@
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.