1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

log: Fix returned verbosity delta

When we increase verbosity we want values > 0 returned.
This commit is contained in:
Evangelos Ribeiro Tzaras 2022-11-11 13:00:39 +01:00
parent d722a913da
commit 707eee51cb

View file

@ -283,7 +283,7 @@ calls_log_get_verbosity (void)
int
calls_log_set_verbosity (guint new_verbosity)
{
int diff = verbosity - new_verbosity;
int diff = new_verbosity - verbosity;
if (new_verbosity == verbosity)
return 0;