From b17d32fdd284dc80cc7f16db07d6827ee15c4021 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 15 Dec 2024 21:55:41 +0000 Subject: [PATCH] logging: fix some missed logs --- src/Hyprpaper.cpp | 2 +- src/render/LayerSurface.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hyprpaper.cpp b/src/Hyprpaper.cpp index 1c03ad1..2668939 100644 --- a/src/Hyprpaper.cpp +++ b/src/Hyprpaper.cpp @@ -582,7 +582,7 @@ void CHyprpaper::renderWallpaperForMonitor(SMonitor* pMonitor) { auto SPLASH = execAndGet("hyprctl splash"); SPLASH.pop_back(); - Debug::log(LOG, "Rendering splash: %s", SPLASH.c_str()); + Debug::log(LOG, "Rendering splash: {}", SPLASH); cairo_select_font_face(PCAIRO, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); diff --git a/src/render/LayerSurface.cpp b/src/render/LayerSurface.cpp index b9c2751..9dae0e1 100644 --- a/src/render/LayerSurface.cpp +++ b/src/render/LayerSurface.cpp @@ -41,7 +41,7 @@ CLayerSurface::CLayerSurface(SMonitor* pMonitor) { m_pMonitor->wantsACK = true; m_pMonitor->initialized = true; - Debug::log(LOG, "configure for %s", m_pMonitor->name.c_str()); + Debug::log(LOG, "configure for {}", m_pMonitor->name); }); pLayerSurface->setClosed([this](CCZwlrLayerSurfaceV1* r) {