Skip to content

Commit a27af58

Browse files
committed
sdlconsole: fixup Windows console
1 parent c9ab1d5 commit a27af58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

library/Console-windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ bool WindowsConsole::init(bool)
509509
return true;
510510
}
511511
// FIXME: looks awfully empty, doesn't it?
512-
bool Console::shutdown(void)
512+
bool WindowsConsole::shutdown(void)
513513
{
514514
std::lock_guard<std::recursive_mutex> lock{*wlock};
515515
FreeConsole();

library/Console.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ std::unique_ptr<Console> Console::makeConsole() {
99

1010
// Return the Windows console
1111
#if defined(_WIN32) || defined(_WIN64)
12-
return std::make_unique<WindowsConsole>();
12+
return std::make_unique<WindowsConsole>();
1313

1414
// Return Posix console if launched from a supported terminal
1515
#elif defined(__linux__) || defined(__unix__) || defined(__APPLE__)

0 commit comments

Comments
 (0)