X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fsoft%2Frender.c;h=c77709c66877c74594ab98b5073b0bf0e66a8069;hp=705de17f30725cecf1d45697c402b164ef706e6a;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=99e9995ba077aa90b20b47d528ccd3ff27949652 diff --git a/src/soft/render.c b/src/soft/render.c index 705de17..c77709c 100644 --- a/src/soft/render.c +++ b/src/soft/render.c @@ -1,3 +1,20 @@ +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * 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 . + */ + #include #include #include // abs() @@ -1566,12 +1583,9 @@ static int video_menu_handler (menu_msg_t *msg, const menu_t *m, void *data, int return simple_menu_handler(msg, i, __NUM__, &sm, &cur); } -static const menu_t video_menu = { - NULL, &video_menu_handler -}; - const menu_t *R_menu (void) { - return &video_menu; + static const menu_t m = { video_menu_handler }; + return &m; } const cfg_t *R_args (void) {