From 7fb192018d9cfc04e82eed71ec685a1a7fc8985e Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 12 Dec 2023 00:54:36 -0500 Subject: [PATCH] follow-up bit --- src/music.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music.c b/src/music.c index 1dbc82676..779974bdb 100644 --- a/src/music.c +++ b/src/music.c @@ -718,7 +718,7 @@ do_improvisation(struct obj* instr) static char * improvised_notes(boolean *same_as_last_time) { - static char notes[7] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G' }; + static const char notes[7] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G' }; /* target buffer has to be in gc.context, otherwise saving game * between improvised recitals would not be able to maintain * the same_as_last_time context. */