From 99c7963260df41a299bc4adee2b5e7d6f647bfb9 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 24 Sep 2022 11:07:47 +0200 Subject: [PATCH] Fixed log message --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 2dbc644..6fdc22e 100644 --- a/main.cpp +++ b/main.cpp @@ -70,7 +70,7 @@ void draw() { bool handle_window_resize(const SDL_Event& event, bool quit) { if (event.window.data1 != main_image->width() || event.window.data2 != main_image->height()) { - std::cerr << "window resized to " << event.window.data1 << "×" << event.window.data2 << " pixels\n"; + std::cerr << "screensaver: window resized to " << event.window.data1 << "×" << event.window.data2 << " pixels\n"; create_image(event.window.data1, event.window.data2); cairo_rectangle_t r {0, 0, static_cast(event.window.data1), static_cast(event.window.data2)}; if (main_saver) {