Skip to content

Commit

Permalink
Make pane definitions array static and const
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictress committed Nov 14, 2024
1 parent f427adf commit cf45630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ static void SetVideoMode(void)
} pane_t;

// [PN] Array of pane definitions
pane_t panes[] = {
static const pane_t panes[] = {
{ &redpane, 0xff, 0x0, 0x0 }, // red
{ &yelpane, 0xd7, 0xba, 0x45 }, // yellow
{ &grnpane, 0x0, 0xff, 0x0 }, // green
Expand Down

0 comments on commit cf45630

Please sign in to comment.