diff --git a/cmake/cifpp-config.cmake.in b/cmake/cifpp-config.cmake.in index 29929cb..36f6c91 100644 --- a/cmake/cifpp-config.cmake.in +++ b/cmake/cifpp-config.cmake.in @@ -8,5 +8,6 @@ include(CMakeFindDependencyMacro) find_dependency(Threads) find_dependency(ZLIB REQUIRED) +find_dependency(SQLite3 REQUIRED) check_required_components(cifpp) diff --git a/src/utilities.cpp b/src/utilities.cpp index 26fa4c8..d672553 100644 --- a/src/utilities.cpp +++ b/src/utilities.cpp @@ -93,7 +93,7 @@ std::tuple get_terminal_width_and_height() { CONSOLE_SCREEN_BUFFER_INFO csbi; return ::GetConsoleScreenBufferInfo(::GetStdHandle(STD_OUTPUT_HANDLE), &csbi) - ? { csbi.srWindow.Right - csbi.srWindow.Left + 1, csbi.srWindow.Bottm - csbi.srWindow.Top + 1 } + ? { csbi.srWindow.Right - csbi.srWindow.Left + 1, csbi.srWindow.Bottom - csbi.srWindow.Top + 1 } : { 80, 24 }; }