From 299e0c3b71bdb81a775430a38d7f8c7e28fdc52e Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 2 Dec 2023 15:40:20 +0000 Subject: [PATCH] main-goner.cpp: convert from C sourcefile Also fixes sleepily-commited compilation-breaking typo --- src/menus/CMakeLists.txt | 2 +- src/menus/{main-goner.c => main-goner.cpp} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/menus/{main-goner.c => main-goner.cpp} (97%) diff --git a/src/menus/CMakeLists.txt b/src/menus/CMakeLists.txt index b3549df12..4e024fc55 100644 --- a/src/menus/CMakeLists.txt +++ b/src/menus/CMakeLists.txt @@ -6,7 +6,7 @@ target_sources(SRB2SDL2 PRIVATE extras-statistics.c extras-wrong.c main-1.c - main-goner.c + main-goner.cpp main-profile-select.c options-1.c options-data-1.c diff --git a/src/menus/main-goner.c b/src/menus/main-goner.cpp similarity index 97% rename from src/menus/main-goner.c rename to src/menus/main-goner.cpp index 581be98f9..37b5aa951 100644 --- a/src/menus/main-goner.c +++ b/src/menus/main-goner.cpp @@ -1,4 +1,4 @@ -/// \file menus/main-goner.c +/// \file menus/main-goner.cpp /// \brief The Goner Setup. #include "../k_menu.h" @@ -15,7 +15,7 @@ menuitem_t MAIN_Goner[] = {IT_STRING | IT_CALL, "Video Options", "CONFIGURE OCULAR PATHWAYS.", NULL, - ={.routine = M_VideoOptions}, 0, 0}, + {.routine = M_VideoOptions}, 0, 0}, {IT_STRING | IT_CALL, "Sound Options", "CALIBRATE AURAL DATASTREAM.", NULL,