artemsen / swayimg

Image viewer for Wayland
MIT License
350 stars 27 forks source link

Sanitizer #172

Closed appashchenko closed 1 month ago

appashchenko commented 1 month ago

Fix various problems found by sanitizer.

artemsen commented 1 month ago

Видимо не выспался =) Да, тут всё норм.

On Sun, Aug 4, 2024, 19:04 Zetrin0 @.***> wrote:

@.**** commented on this pull request.

In src/application.c https://github.com/artemsen/swayimg/pull/172#discussion_r1703277081:

@@ -380,9 +380,8 @@ bool app_init(const char** sources, size_t num) } if (ctx.window.width == SIZE_FULLSCREEN) { ui_toggle_fullscreen();

  • } else if (first_image &&

Артём, вы не выспались, или я что-то не понимаю? Коммит наоборот убирает эту переменную из условия.

— Reply to this email directly, view it on GitHub https://github.com/artemsen/swayimg/pull/172#discussion_r1703277081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI5UOF6R3IFPTJWMNJR4MLZPZGJLAVCNFSM6AAAAABL6WU2CWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMJXG44DAMBUGA . You are receiving this because you commented.Message ID: @.***>