diff options
Diffstat (limited to 'src/hyprerror/HyprError.cpp')
-rw-r--r-- | src/hyprerror/HyprError.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp index 73f9c5d5..de386097 100644 --- a/src/hyprerror/HyprError.cpp +++ b/src/hyprerror/HyprError.cpp @@ -58,7 +58,7 @@ void CHyprError::createQueued() { cairo_paint(CAIRO); cairo_restore(CAIRO); - const auto LINECOUNT = 1 + std::count(m_szQueued.begin(), m_szQueued.end(), '\n'); + const auto LINECOUNT = Hyprlang::INT{1} + std::count(m_szQueued.begin(), m_szQueued.end(), '\n'); static auto LINELIMIT = CConfigValue<Hyprlang::INT>("debug:error_limit"); const auto VISLINECOUNT = std::min(LINECOUNT, *LINELIMIT); |