Codechange: Make TextfileType a scoped enum (#15864)

This commit is contained in:
Peter Nelson
2026-07-15 23:21:59 +01:00
committed by GitHub
parent 162c629766
commit 3f2f61c49b
14 changed files with 57 additions and 56 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ static std::optional<std::string> FindGameManualFilePath(std::string_view filena
/** Window class displaying the game manual textfile viewer. */
struct GameManualTextfileWindow : public TextfileWindow {
GameManualTextfileWindow(std::string_view filename, Subdirectory subdir) : TextfileWindow(nullptr, TFT_GAME_MANUAL)
GameManualTextfileWindow(std::string_view filename, Subdirectory subdir) : TextfileWindow(nullptr, TextfileType::GameManual)
{
this->ConstructWindow();