diff --git a/src/openal/sound.c b/src/openal/sound.c
index ef9afdab2b09c6d8fb26bda6d4f74b09947f55c0..b41906f4588bc0fbf990dab2841e2ed90d94f443 100644 (file)
--- a/src/openal/sound.c
+++ b/src/openal/sound.c
+/* Copyright (C) 2020 SovietPony
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License ONLY.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "sound.h"
#include "music.h"
@@ -115,9 +130,7 @@ static int sound_menu_handler (menu_msg_t *msg, const menu_t *m, void *data, int
}
const menu_t *S_menu (void) {
- static const menu_t m = {
- NULL, &sound_menu_handler
- };
+ static const menu_t m = { sound_menu_handler };
return &m;
}