string constants
<Someone> wrote: > Linux, Redhat 7.1 nethack 3.4.0 > >Please see attached patch file. > >I'm attempting to move more stuff into the "read-only" area, in >preparation for a port to another OS.
This commit is contained in:
@@ -1857,7 +1857,7 @@ STATIC_OVL void
|
||||
t_warn(lev)
|
||||
struct rm *lev;
|
||||
{
|
||||
static const char *warn_str = "wall_angle: %s: case %d: seenv = 0x%x";
|
||||
static const char warn_str[] = "wall_angle: %s: case %d: seenv = 0x%x";
|
||||
const char *wname;
|
||||
|
||||
if (lev->typ == TUWALL) wname = "tuwall";
|
||||
|
||||
Reference in New Issue
Block a user